GH-101588: Deprecate pickle/copy/deepcopy support in itertools by rhettinger · Pull Request #104965 · python/cpython · GitHub

github.com

Tin mới

rhettinger:itertool_pickle_deprecation

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

Deprecate pickle support for itertools #101588

Add deprecations for itertool pickle support.

Limit category to a DeprecationWarnings

Expand warning message to cover copy and deepcopy as well

Add whatsnew entry

needs backport to 3.12

needs backport to 3.12

awaiting core review

awaiting core review

View reviewed changes

Learn more about hiding disruptive comments

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

Return NULL instead of None. Add third pass to check warning-to-error…

Minor wording tweak

Merge branch 'main' into itertool_pickle_deprecation

: Deprecate pickle/copy/deepcopy support in itertools (

[3.12] GH-101588: Deprecate pickle/copy/deepcopy support in itertools (GH-104965) (GH-104997)

3.12 backport gh 105236 #105358