bpo-36308: Fix _PyPathConfig_ComputeArgv0 warning by matrixise · Pull Request #12357 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Conversation

@matrixise

Copy link Copy Markdown

Member

@matrixise matrixise commented

Mar 15, 2019

edited by bedevere-bot

Loading

'argv0' may be used uninitialized in this function

https://bugs.python.org/issue36308

'argv0' may be used uninitialized in this function

@matrixise matrixise marked this pull request as ready for review

March 15, 2019 20:36

@matrixise

Copy link Copy Markdown

Member Author

I close the PR, #12441 fixes the issue.

@matrixise matrixise closed this

Mar 19, 2019

@vstinner

Copy link Copy Markdown

Member

When I read your PR, I didn't understand it, but I now think that PR #12441 is the correct: leave sys.path unchanged if sys.argv is empty.

@matrixise

Copy link Copy Markdown

Member Author

@vstinner you have a better overview than me on the code/project.

@vstinner

Copy link Copy Markdown

Member

("I didn't understand it": I mean that I didn't understand the root issue, not your PR.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@matrixise @vstinner @the-knights-who-say-ni @bedevere-bot