[Python-Dev] python 3 niggle: None < 1 raises TypeError
yoavglazner at gmail.com
Fri Feb 14 12:28:10 CET 2014
On Feb 14, 2014 1:13 PM, "Oleg Broytman" <phd at phdru.name> wrote:
> On Fri, Feb 14, 2014 at 09:54:35PM +1100, Chris Angelico <rosuav at gmail.com>
> > So definitely SQL's handling of NULL should not be any sort of guide
> > as regards Python's treatment of None.
> Why not? Just make the order different for CPython and PyPy, Cython
> and Jython. ;-)
> Oleg Broytman http://phdru.name/ phd at phdru.name
> Programmers don't die, they just GOSUB without RETURN.
Unicode + bytes explodes in order to get the error sooner.i.e
Not waiting for the killer 8bit string.
So None<1 is the opposite !
sort(somelist) is a ticking bomb in py3
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev