Message400867
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. :-) |
|
Date |
User |
Action |
Args |
2021-09-01 20:59:53 | gvanrossum | set | recipients:
+ gvanrossum, gregory.p.smith, iritkatriel |
2021-09-01 20:59:53 | gvanrossum | set | messageid: <1630529993.31.0.780652308472.issue44091@roundup.psfhosted.org> |
2021-09-01 20:59:53 | gvanrossum | link | issue44091 messages |
2021-09-01 20:59:53 | gvanrossum | create | |
|