Timothy Fitz <timothyf...@gmail.com> added the comment:

Does that mean you agree that the behavior is a bug?

If we're agreed that the behavior is a bug, then it's just a matter of solving 
the implementation details. One suggestion is to compile in a __debug__ check 
at the top of every .pyo file, effectively prepending every file with "if 
__debug__ == True: raise AssertionError()". Another could be to add a header to 
the bytecode (clearly waiting for the next major release of Python).

We'll gladly contribute patches once a suitable implementation has been chosen.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8379>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to