[Numpy-discussion] unique() should return a sorted array

James Graham jg307 at cam.ac.uk
Mon Jul 17 11:16:42 EDT 2006


Albert Strasheim wrote:

> I think it has been discussed on the list that Python >= 2.3 is assumed.
> However, according to the Python documentation, the built-in set type is new
> in Python 2.4.

Sets are available in python 2.3 as part of the sets module so it is possible. 
However afaict the provided patch does not use the module and so will need to be 
adapted for use in 2.3.

-- 
"You see stars that clear have been dead for years
But the idea just lives on..." -- Bright Eyes




More information about the NumPy-Discussion mailing list