Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.10] bpo-44285: getpath.c: Assert that env_file is NULL during an error check (GH-26486) #26495

Merged
merged 1 commit into from Jun 2, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 2, 2021

This was flagged by a static analyzer, but the logic of why this is NULL on error is hard to follow for humans as well.
(cherry picked from commit bdb5690)

Co-authored-by: stratakis cstratak@redhat.com

https://bugs.python.org/issue44285

…eck (pythonGH-26486)

This was flagged by a static analyzer, but the logic of why this is NULL on error is hard to follow for humans as well.
(cherry picked from commit bdb5690)

Co-authored-by: stratakis <cstratak@redhat.com>
@miss-islington
Copy link
Contributor Author

@stratakis and @encukou: Status check is done, and it's a success ✅ .

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM, good bot.

@miss-islington miss-islington merged commit 0e9af8c into python:3.10 Jun 2, 2021
@miss-islington miss-islington deleted the backport-bdb5690-3.10 branch June 2, 2021 23:50
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.

None yet

5 participants