gh-125746: Delay deprecated `zipimport.zipimporter.load_module` removal time to 3.15 by Wulian233 · Pull Request #125748 · python/cpython · GitHub

github.com

Tin mới

Wulian233:zipimport

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

added to typeshed in late June

I would like to hold off on this change for one more version. A quick GitHub search shows that 1.8k projects are still relying on load_module (and my regular expression isn't perfect, so I'm certain that we're missing so

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

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

awaiting core review

awaiting core review

View reviewed changes

bedevere-app Bot commented Oct 21, 2024

bedevere-app Bot commented Oct 21, 2024

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core devel

awaiting change review

awaiting change review

Merge branch 'python:main' into zipimport

View reviewed changes

Merge branch 'main' into zipimport

Update Doc/deprecations/pending-removal-in-3.15.rst

Postpone module.__loader__ deprecation to Python 3.16 #126482

View reviewed changes

Apply picnixz suggesions

View reviewed changes

Merge branch 'main' into zipimport