diff options
author | Brett Cannon <brett@python.org> | 2020-11-13 23:14:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 23:14:58 (GMT) |
commit | d2e94bb0848e04a90efa51be401f0ce8a9e252f2 (patch) | |
tree | 241cec2ab4a3037fee4406acc2cd502db1d8bf1c /Doc/whatsnew | |
parent | 9b6934230c35e24d8582ea8c58456fa8eab72ae2 (diff) | |
download | cpython-d2e94bb0848e04a90efa51be401f0ce8a9e252f2.zip cpython-d2e94bb0848e04a90efa51be401f0ce8a9e252f2.tar.gz cpython-d2e94bb0848e04a90efa51be401f0ce8a9e252f2.tar.bz2 |
bpo-42131: Add PEP 451-related methods to zipimport (GH-23187)
Specifically, find_spec(), create_module(), and exec_module().
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index c1ce5f3..b8e6843 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -303,6 +303,13 @@ Add a :class:`~xml.sax.handler.LexicalHandler` class to the :mod:`xml.sax.handler` module. (Contributed by Jonathan Gossage and Zackery Spytz in :issue:`35018`.) +zipimport +--------- +Add methods related to :pep:`451`: :meth:`~zipimport.zipimporter.find_spec`, +:meth:`zipimport.zipimporter.create_module`, and +:meth:`zipimport.zipimporter.exec_module`. +(Contributed by Brett Cannon in :issue:`42131`. + Optimizations ============= |