[Numpy-discussion] Do we still need support for Python 2.3?

Pearu Peterson pearu at cens.ioc.ee
Mon May 21 13:44:14 EDT 2007


On Mon, May 21, 2007 8:32 pm, Robert Kern wrote:
> Pearu Peterson wrote:
>> Hi,
>>
>> I noticed that numpy revision 3794 introduces `set`
>> but that is available starting from Python 2.4.
>
> Note that the code David added is compatible with Python 2.3.
>
>   22	try:
>   23	    set
>   24	except NameError:
>   25	    from sets import Set as set

Sorry for the noice, I wasn't careful reading the code..

Best,
Pearu




More information about the NumPy-Discussion mailing list