Serhiy Storchaka added the comment: I think that the complete solution of this problem is making __debug__ a named constant like None, True, False.
This needs changing the grammar of Python. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27169> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com