This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Timothy.Fitz
Recipients Timothy.Fitz, afriesen, brett.cannon, pitrou, rhettinger
Date 2010-04-15.01:03:22
SpamBayes Score 0.009602432
Marked as misclassified No
Message-id <1271293404.83.0.830443137503.issue8379@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-15 01:03:25Timothy.Fitzsetrecipients: + Timothy.Fitz, brett.cannon, rhettinger, pitrou, afriesen
2010-04-15 01:03:24Timothy.Fitzsetmessageid: <1271293404.83.0.830443137503.issue8379@psf.upfronthosting.co.za>
2010-04-15 01:03:23Timothy.Fitzlinkissue8379 messages
2010-04-15 01:03:22Timothy.Fitzcreate