On 11/22/2012 06:57 PM, eryksun wrote:
> On Thu, Nov 22, 2012 at 6:49 PM, Steven D'Aprano <st...@pearwood.info> wrote:
>>> will give the same answer each time, for a single run of a script in
>>> CPython, but it is unspecified what that answer will be, and may vary by
>>> version as well as implementation.
>> Correct. The ordering of None has changed at least once in CPython:
>>
>>
>> [steve@ando ~]$ python2.7 -c "print 2 > None"
>> True
>> [steve@ando ~]$ python1.5 -c "print 2 > None"
>> 0
> LOL... version 1.5. Anyway, there will never be a version 2.8, so the
> question is really what Jython, IronPython, and other 2.x
> implementations do.

No, the question is what will Python3000 do.  Oh, wait, it's already
out, and it's called 3.x  Since it's explicitly an error there, it seems
good not to write new code using the misfeature.



-- 

DaveA

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to