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

Benjamin Peterson musiccomposition at gmail.com
Wed Mar 19 14:13:48 CET 2008


On Wed, Mar 19, 2008 at 6:51 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> 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 :)

Somebody can remove TODO in Lib/test/test_py3kwarn.py.

>
>
> Cheers,
> Nick
>
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> ---------------------------------------------------------------
>             http://www.boredomandlaziness.org
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/musiccomposition%40gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20080319/209ea4a4/attachment.htm 


More information about the Python-Dev mailing list