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 xdegaye
Recipients Alex.Willmer, barry, doko, koobs, martin.panter, ned.deily, thomas-petazzoni, twouters, vstinner, xdegaye
Date 2016-07-28.11:52:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469706738.19.0.385641488769.issue26852@psf.upfronthosting.co.za>
In-reply-to
Content
> but these are rebuilt when you start the interpreter, aren't they?

No.

Quoting PEP 3147:
    Case 4: legacy pyc files and source-less imports

    Python will ignore all legacy pyc files when a source file exists next to it. In other words, if a foo.pyc file exists next to the foo.py file, the pyc file will be ignored in all cases

    In order to continue to support source-less distributions though, if the source file is missing, Python will import a lone pyc file if it lives where the source file would have been.
History
Date User Action Args
2016-07-28 11:52:18xdegayesetrecipients: + xdegaye, twouters, barry, doko, vstinner, ned.deily, martin.panter, koobs, thomas-petazzoni, Alex.Willmer
2016-07-28 11:52:18xdegayesetmessageid: <1469706738.19.0.385641488769.issue26852@psf.upfronthosting.co.za>
2016-07-28 11:52:18xdegayelinkissue26852 messages
2016-07-28 11:52:18xdegayecreate