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 vstinner
Recipients Alexandru Ardelean, Frederik Rietdijk, Ray Donnelly, barry, benjamin.peterson, bmwiedemann, brett.cannon, dstufft, eric.araujo, eric.smith, eschwartz, jefferyto, mcepl, methane, miss-islington, sascha_silbe, vstinner
Date 2020-12-31.12:11:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609416675.09.0.105299908733.issue29708@roundup.psfhosted.org>
In-reply-to
Content
> note the optimized .pyc is deterministic. As far as I know only __debug__ is set to False, or is there something else different?

Hum, maybe there is a misunderstanding on the PEP 552 purpose.

I understood that the main point of the PEP 552 is to compare hash(<source code>), rather than checking the .py and .pyc file modification time.

It doesn't magically make the PYC file content fully reproducible. Correct me if I misunderstood PEP 552 as well.
History
Date User Action Args
2020-12-31 12:11:15vstinnersetrecipients: + vstinner, barry, brett.cannon, eric.smith, benjamin.peterson, mcepl, eric.araujo, sascha_silbe, methane, dstufft, bmwiedemann, Frederik Rietdijk, Alexandru Ardelean, Ray Donnelly, eschwartz, miss-islington, jefferyto
2020-12-31 12:11:15vstinnersetmessageid: <1609416675.09.0.105299908733.issue29708@roundup.psfhosted.org>
2020-12-31 12:11:15vstinnerlinkissue29708 messages
2020-12-31 12:11:15vstinnercreate