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 ncoghlan
Recipients acidbase, brett.cannon, eric.araujo, loewis, ncoghlan
Date 2012-03-02.05:49:57
SpamBayes Score 6.105665e-05
Marked as misclassified No
Message-id <1330667398.32.0.863965099034.issue1346572@psf.upfronthosting.co.za>
In-reply-to
Content
Does "compileall" generate both .pyc and .pyo by default? Or do you have to run it twice? If the latter, does pysetup handle that for you?

MvL is correct that zipimport should ignore .pyo files when __debug__ is set and vice-versa, but the precompilation tools should also take care of generating both versions by default.
History
Date User Action Args
2012-03-02 05:49:58ncoghlansetrecipients: + ncoghlan, loewis, brett.cannon, acidbase, eric.araujo
2012-03-02 05:49:58ncoghlansetmessageid: <1330667398.32.0.863965099034.issue1346572@psf.upfronthosting.co.za>
2012-03-02 05:49:57ncoghlanlinkissue1346572 messages
2012-03-02 05:49:57ncoghlancreate