Skip to content

Delay deprecated zipimport.zipimporter.load_module removal time to 3.15 #125746

Closed
@Wulian233

Description

@Wulian233

Feature or enhancement

Proposal:

This method have been deprecated since Python 3.10
At https://github.com/python/cpython/blob/main/Lib/zipimport.py#L224-L225

msg = ("zipimport.zipimporter.load_module() is deprecated and slated for "
               "removal in Python 3.12; use exec_module() instead")

edit: Delay the removal time to 3.15
#125746 (comment)

Linked PRs

Metadata

Metadata

Labels

stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions