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 lebigot
Recipients lebigot, vstinner
Date 2011-09-15.08:39:45
SpamBayes Score 0.0034651218
Marked as misclassified No
Message-id <1316075986.48.0.999988234622.issue12982@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed.  Thanks.  I wish it had been in the documentation. :)  This is yet another reason for me to check how I can submit patches to the doc. :)

I also found out that renaming the .pyo file as .pyc makes Python happy upon import.  That's the solution I chose, because I don't want users to have to type "python -O" when calling programs compiled with -O or -OO.
History
Date User Action Args
2011-09-15 08:39:46lebigotsetrecipients: + lebigot, vstinner
2011-09-15 08:39:46lebigotsetmessageid: <1316075986.48.0.999988234622.issue12982@psf.upfronthosting.co.za>
2011-09-15 08:39:45lebigotlinkissue12982 messages
2011-09-15 08:39:45lebigotcreate