Hey David > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:numpy- > [EMAIL PROTECTED] On Behalf Of David Huard > Sent: 17 July 2006 16:11 > To: numpy-discussion@lists.sourceforge.net > Subject: Re: [Numpy-discussion] unique() should return a sorted array > > Hi, > > I attached a patch for unique (with a test case) based on Norbert's > suggestion. I removed the sort keyword since iterable arrays would be > sorted anyway. The function uses a python set, and I was wondering if it > is ok to assume that everyone running numpy has a python version >= 2.3 ?
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. Regards, Albert ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion