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-86493: Fix possible leaks in some modules initialization#106768

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

@serhiy-storchakaserhiy-storchaka commentedJul 15, 2023
edited
Loading

Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time.

Use newprivate function_PyModule_AddNew() public functionPyModule_Add() instead ofPyModule_AddObject().

Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time.
@serhiy-storchakaserhiy-storchaka merged commit3e65bae intopython:mainJul 18, 2023
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry@serhiy-storchaka, I had trouble checking out the3.12 backport branch.
Please retry by removing and re-adding the "needs backport to 3.12" label.
Alternatively, you can backport usingcherry_picker on the command line.
cherry_picker 3e65baee72131b49f4ce8ca2da568a6f2001ce93 3.12

@miss-islington
Copy link
Contributor

Sorry,@serhiy-storchaka, I could not cleanly backport this to3.11 due to a conflict.
Please backport usingcherry_picker on command line.
cherry_picker 3e65baee72131b49f4ce8ca2da568a6f2001ce93 3.11

@vstinner
Copy link
Member

Nice fix. I like when removing characters fix bugs :-D

About the backport: Python 3.11 and 3.12 don't have PyModule_Add(), so you cannot backport these fixes, no? While it's tempting, I don't think that it's worth it.

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull requestJul 18, 2023
…ion (pythonGH-106768)Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time..(cherry picked from commit3e65bae)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-106855 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelJul 18, 2023
serhiy-storchaka added a commit that referenced this pull requestJul 18, 2023
…H-106768) (GH-106855)Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time.(cherry picked from commit3e65bae)
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull requestJul 18, 2023
…ialization (pythonGH-106768) (pythonGH-106855)Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time.(cherry picked from commit3e65bae).(cherry picked from commita423ddb)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull requestJul 19, 2023
…H-106768) (GH-106855) (GH-106863)[3.11] [3.12]gh-86493: Fix possible leaks in some modules initialization (GH-106768) (GH-106855)Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time.(cherry picked from commit3e65bae).(cherry picked from commita423ddb)
@serhiy-storchakaserhiy-storchaka removed their assignmentJul 25, 2023
@serhiy-storchakaserhiy-storchaka removed the needs backport to 3.11only security fixes labelNov 10, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vstinnervstinnerAwaiting requested review from vstinner

@pgansslepganssleAwaiting requested review from pgansslepganssle is a code owner

@abalkinabalkinAwaiting requested review from abalkinabalkin is a code owner

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@serhiy-storchaka@miss-islington@vstinner@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp