[Python-Dev] Checking for the -3 flag from Python code

Nick Coghlan ncoghlan at gmail.com
Wed Mar 19 12:51:23 CET 2008


This flag is exposed to python code as sys.flags.py3k_warning

So the hack added to some of the test code that I saw go by on 
python-checkins isn't needed :)

Cheers,
Nick

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-Dev mailing list