This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jcrocholl
Recipients jcrocholl
Date 2011-06-08.17:39:47
SpamBayes Score 5.9891878e-05
Marked as misclassified No
Message-id <1307554787.91.0.244945318639.issue12286@psf.upfronthosting.co.za>
In-reply-to
Content
>>> l = [1.0, 2.0, 3.0, float('nan'), 4.0, 3.0, 2.0, 1.0]
>>> l.sort()
>>> l
[1.0, 2.0, 3.0, nan, 1.0, 2.0, 3.0, 4.0]

The expected result is either of the following:
[nan, 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0] (similar to None)
[1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, nan] (similar to string 'nan')
History
Date User Action Args
2011-06-08 17:39:48jcrochollsetrecipients: + jcrocholl
2011-06-08 17:39:47jcrochollsetmessageid: <1307554787.91.0.244945318639.issue12286@psf.upfronthosting.co.za>
2011-06-08 17:39:47jcrocholllinkissue12286 messages
2011-06-08 17:39:47jcrochollcreate