Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-92049: Forbid pickling constants re._constants.SUCCESS etc#92070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

serhiy-storchaka
Copy link
Member

Previously, pickling did not fail, but the result could not be unpickled.

Previously, pickling did not fail, but the result could not be unpickled.
@serhiy-storchakaserhiy-storchaka added type-bugAn unexpected behavior, bug, or error needs backport to 3.9only security fixes needs backport to 3.10only security fixes labelsApr 30, 2022
@serhiy-storchakaserhiy-storchaka linked an issueApr 30, 2022 that may beclosed by this pull request
@serhiy-storchakaserhiy-storchaka merged commit6d0d547 intopython:mainApr 30, 2022
@miss-islington
Copy link
Contributor

Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

@serhiy-storchakaserhiy-storchaka deleted the sre_constants-pickle branchApril 30, 2022 10:03
@miss-islington
Copy link
Contributor

Sorry,@serhiy-storchaka, I could not cleanly backport this to3.10 due to a conflict.
Please backport usingcherry_picker on command line.
cherry_picker 6d0d547033e295f91f05030322acfbb0e280fc1f 3.10

@miss-islington
Copy link
Contributor

Sorry@serhiy-storchaka, I had trouble checking out the3.9 backport branch.
Please backport usingcherry_picker on command line.
cherry_picker 6d0d547033e295f91f05030322acfbb0e280fc1f 3.9

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull requestApr 30, 2022
…S etc (pythonGH-92070)Previously, pickling did not fail, but the result could not be unpickled..(cherry picked from commit6d0d547)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-botbedevere-bot removed the needs backport to 3.10only security fixes labelApr 30, 2022
@bedevere-bot
Copy link

GH-92073 is a backport of this pull request to the3.10 branch.

@serhiy-storchakaserhiy-storchaka removed their assignmentApr 30, 2022
serhiy-storchaka added a commit that referenced this pull requestApr 30, 2022
…H-92070) (GH-92073)Previously, pickling did not fail, but the result could not be unpickled.(cherry picked from commit6d0d547)
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull requestMay 1, 2022
…SUCCESS etc (pythonGH-92070) (pythonGH-92073)Previously, pickling did not fail, but the result could not be unpickled.(cherry picked from commit6d0d547)(cherry picked from commite8ff3c9)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull requestMay 1, 2022
…H-92070) (GH-92073) (GH-92102)Previously, pickling did not fail, but the result could not be unpickled.(cherry picked from commit6d0d547)(cherry picked from commite8ff3c9)
hello-adam pushed a commit to hello-adam/cpython that referenced this pull requestJun 2, 2022
… etc (pythonGH-92070) (pythonGH-92073) (pythonGH-92102)Previously, pickling did not fail, but the result could not be unpickled.(cherry picked from commit6d0d547)(cherry picked from commite8ff3c9)
@hugovkhugovk removed the needs backport to 3.9only security fixes labelFeb 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
type-bugAn unexpected behavior, bug, or error
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Can't picklesre_constants
4 participants
@serhiy-storchaka@miss-islington@bedevere-bot@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp