[Python-ideas] sys.py3k

Oleg Broytman phd at phdru.name
Sun Nov 4 22:57:20 CET 2012


On Mon, Nov 05, 2012 at 12:49:24AM +0300, anatoly techtonik <techtonik at gmail.com> wrote:
> if sys.py3k:

1. import sys
2. sys.py3k = sys.version_info >= (3, 0)
3. ???
4. PROFIT!

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.



More information about the Python-ideas mailing list