Skip to content

gh-116545: Fix error handling in mkpwent in pwdmodule - #116548

Merged
sobolevn merged 2 commits into
python:mainfrom
sobolevn:issue-116545
Mar 11, 2024
Merged

sobolevn merged 2 commits into
python:mainfrom
sobolevn:issue-116545

Conversation

@sobolevn

@sobolevn sobolevn commented Mar 9, 2024

Copy link
Copy Markdown
Member

I know that Py_None is immortal now, but I think that it is still used quite a lot with Py_NewRef. I can remove it or keep it:

» ag 'Py_NewRef\(Py_None\)' --stats-only   
128 matches
60 files contained matches

Comment thread Modules/pwdmodule.c Outdated
@sobolevn
sobolevn merged commit ffd79be into python:main Mar 11, 2024
@miss-islington-app

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 11, 2024
…onGH-116548)

(cherry picked from commit ffd79be)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-app

bedevere-app Bot commented Mar 11, 2024

Copy link
Copy Markdown

GH-116593 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Mar 11, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 11, 2024
…onGH-116548)

(cherry picked from commit ffd79be)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-app

bedevere-app Bot commented Mar 11, 2024

Copy link
Copy Markdown

GH-116594 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label Mar 11, 2024
sobolevn added a commit that referenced this pull request Mar 11, 2024
…116548) (#116593)

gh-116545: Fix error handling in `mkpwent` in `pwdmodule` (GH-116548)
(cherry picked from commit ffd79be)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
sobolevn added a commit that referenced this pull request Mar 11, 2024
…116548) (#116594)

gh-116545: Fix error handling in `mkpwent` in `pwdmodule` (GH-116548)
(cherry picked from commit ffd79be)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants