[Cython] removing ALL those nasty warnings about string constants
Michael Abshoff
michael.abshoff at googlemail.com
Fri Dec 19 22:08:20 CET 2008
Lisandro Dalcin wrote:
> On Fri, Dec 19, 2008 at 6:39 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
Hi Lisandro,
> BTW, Python 2.5 is better about those problems than 2.4, with in turns
> is better than 2.3 .... Python 2.3 is probably near to be unsupported
> for some very popular packages, like numpy (funny enough, last time
> I've tried numpy 1.2.1 did not work on 2.3 because of a generator)...
> so the question is: Could I target all those fixes for 2.4 and above?
> If not, I'll have to put the casting macro at ever more places...
numpy still supports Python 2.3 and probably will so in the future. The
bug you mentioned has been fixed IIRC and ought to be in 1.2.2 and 1.3.
By the way: OSX 10.4 still ships Python 2.3.5 per default:
varro:~ mabshoff$ uname -a
Darwin varro 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00
PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
varro:~ mabshoff$ which python
/usr/bin/python
varro:~ mabshoff$ python
Python 2.3.5 (#1, Nov 26 2007, 09:23:30)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1819)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Cheers,
Michael
More information about the Cython-dev
mailing list