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 dwt
Recipients dwt
Date 2012-01-17.10:21:51
SpamBayes Score 1.352699e-10
Marked as misclassified No
Message-id <1326795711.98.0.609923971725.issue13805@psf.upfronthosting.co.za>
In-reply-to
Content
[].sort() returns None which means you can't chain it.

So for example someDict.keys().sort()[0] doesn't work but you have to use sorted(someDict.keys())[0] instead which is harder to read as you have to read the line not from the beginning to the end but jump back and forth in it to understand it (which gets progressively harder as the individual parts of it get longer / more complex).
History
Date User Action Args
2012-01-17 10:21:52dwtsetrecipients: + dwt
2012-01-17 10:21:51dwtsetmessageid: <1326795711.98.0.609923971725.issue13805@psf.upfronthosting.co.za>
2012-01-17 10:21:51dwtlinkissue13805 messages
2012-01-17 10:21:51dwtcreate