New submission from Brett Cannon <br...@python.org>:
zipimport only supports old PEP 302 APIs and not PEP 451 module specs (i.e. it uses load_module() instead of create_module()/exec_module(), find_mdoule() instead of find_spec()). Uses of both load_module() and find_module() are documented as deprecated for the import system and are slated to eventually go away. ---------- components: Library (Lib) messages: 379481 nosy: brett.cannon, twouters priority: normal severity: normal status: open title: [zipimport] Update zipimport to use specs type: behavior versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42131> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com