Message228566
You've identified the main problem: would None go first or last? Modify your key function to make the decision appropriate for you, returning either a very small or very large value for None, as appropriate.
If you really want to see this behavior changed, you should have a concrete proposal and bring it up on the python-ideas mailing list. |
|
Date |
User |
Action |
Args |
2014-10-05 13:52:43 | eric.smith | set | recipients:
+ eric.smith, pythoner |
2014-10-05 13:52:42 | eric.smith | set | messageid: <1412517162.97.0.930253006255.issue22556@psf.upfronthosting.co.za> |
2014-10-05 13:52:42 | eric.smith | link | issue22556 messages |
2014-10-05 13:52:42 | eric.smith | create | |
|