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 eric.snow
Recipients FFY00, eric.snow
Date 2021-10-28.19:00:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635447644.66.0.982309157746.issue45659@roundup.psfhosted.org>
In-reply-to
Content
Note that there isn't any intent currently to implement the FileLoader ABC [1], which would require having FrozenImporter instances, adding the "name" and "path" attributes to them, as well as the get_data() method.  The same goes for the SourceLoader ABC. [2]

Again, frozen modules don't have files but instead were only derived from files during the build process.  For frozen stdlib modules we happen to know where to find the corresponding source files.


[1] https://docs.python.org/3/library/importlib.html#importlib.abc.FileLoader
[2] https://docs.python.org/3/library/importlib.html#importlib.abc.SourceLoader
History
Date User Action Args
2021-10-28 19:00:44eric.snowsetrecipients: + eric.snow, FFY00
2021-10-28 19:00:44eric.snowsetmessageid: <1635447644.66.0.982309157746.issue45659@roundup.psfhosted.org>
2021-10-28 19:00:44eric.snowlinkissue45659 messages
2021-10-28 19:00:44eric.snowcreate