Skip to content

Instantly share code, notes, and snippets.

@wraithan
Created December 7, 2011 22:40
Show Gist options
  • Select an option

  • Save wraithan/1445069 to your computer and use it in GitHub Desktop.

Select an option

Save wraithan/1445069 to your computer and use it in GitHub Desktop.
[wraithan@wraithbeast ~]
$ python3
Python 3.2.2 (default, Sep 5 2011, 04:52:19)
[GCC 4.6.1 20110819 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> None < 3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unorderable types: NoneType() < int()
>>>
[wraithan@wraithbeast ~]
$ python2
Python 2.7.2 (default, Jun 29 2011, 11:10:00)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> None < 3
True
>>>
[wraithan@wraithbeast ~]
$ pypy
Python 2.7.1 (?, Nov 22 2011, 08:37:28)
[PyPy 1.7.0 with GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``-FIRST they ignore you, then they
laugh at you, then they fight you, then you win.-''
>>>> None < 3
True
>>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment