[issue20630] Add sorting helpers for collections containing None values

Raymond Hettinger report at bugs.python.org
Mon Feb 24 15:45:16 CET 2014


Raymond Hettinger added the comment:

> Currently, it's a bit annoying to sort collections 
> containing "None" values in Python 3

I think we should seriously consider whether to restore None's ability to compare with other entries.   Removing this capability has been a major PITA and is an obstacle for people converting code to Python 3.

The need to create helper function work-arounds is a symptom, not a cure.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20630>
_______________________________________


More information about the Python-bugs-list mailing list