[Python-3000] __debug__

Brett Cannon brett at python.org
Thu May 31 20:51:08 CEST 2007


On 5/31/07, Georg Brandl <g.brandl at gmx.net> wrote:
>
> Guido just fixed a case in the py3k branch where you could assign to
> "None" in a function call.
>
> __debug__ has similar problems: it can't be assigned to normally, but via
> keyword arguments it is possible.
>
> This should be fixed; or should __debug__ be thrown out anyway?



I never use the flag, personally.  When I am debugging I have an
app-specific flag I set.  I am +1 on ditching it.

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20070531/60a1d71c/attachment.html 


More information about the Python-3000 mailing list