[issue42131] [zipimport] Update zipimport to use specs

Brett Cannon report at bugs.python.org
Fri Oct 23 18:05:33 EDT 2020


New submission from Brett Cannon <brett at 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 <report at bugs.python.org>
<https://bugs.python.org/issue42131>
_______________________________________


More information about the Python-bugs-list mailing list