Re: [Python-Dev] python 3 niggle: None < 1 raises TypeError

2014年2月14日 03:29:32 -0800

On Feb 14, 2014 1:13 PM, "Oleg Broytman" <[email protected]> wrote:
>
> On Fri, Feb 14, 2014 at 09:54:35PM +1100, Chris Angelico <[email protected]>
wrote:
> > 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.
> --
> Oleg Broytman http://phdru.name/ [email protected]
> 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
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to