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 gvanrossum
Recipients gregory.p.smith, gvanrossum, iritkatriel
Date 2021-09-01.20:59:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630529993.31.0.780652308472.issue44091@roundup.psfhosted.org>
In-reply-to
Content
This sounds like a project requiring a considerable amount of plumbing to get the info from where it's available to where it's needed. For example, importlib reads the PYC file, checks the header, and then passes the rest of the file to marshal.loads(), which creates the (nested) code objects. Similarly, when reading the PY file, the compile() builtin is called to create the code objects without access to metadata other than filename.

I also question whether the software updates that fall prey to this issue are being done the right way -- maybe the server should be stopped before moving the new files in place. :-)
History
Date User Action Args
2021-09-01 20:59:53gvanrossumsetrecipients: + gvanrossum, gregory.p.smith, iritkatriel
2021-09-01 20:59:53gvanrossumsetmessageid: <1630529993.31.0.780652308472.issue44091@roundup.psfhosted.org>
2021-09-01 20:59:53gvanrossumlinkissue44091 messages
2021-09-01 20:59:53gvanrossumcreate