bpo-36236: Fix _PyPathConfig_ComputeSysPath0() for empty argv by vstinner · Pull Request #12441 · 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

Merged

vstinner merged 2 commits intopython:masterfrom

vstinner:path0_empty_argv

Mar 19, 2019

Merged

bpo-36236: Fix _PyPathConfig_ComputeSysPath0() for empty argv#12441

vstinner merged 2 commits intopython:masterfrom

vstinner:path0_empty_argv

Conversation

@vstinner

Copy link Copy Markdown

Member

@vstinner vstinner commented

Mar 19, 2019

edited by bedevere-bot

Loading

  • _PyPathConfig_ComputeSysPath0() now returns 0 if argv is empty.
  • Cleanup also _PyPathConfig_ComputeSysPath0() code: move variables
    definition closer to where they are used.

https://bugs.python.org/issue36236

* _PyPathConfig_ComputeSysPath0() now returns 0 if argv is empty.
* Cleanup also _PyPathConfig_ComputeSysPath0() code: move variables
  definition closer to where they are used.

@vstinner

Copy link Copy Markdown

Member Author

@vstinner vstinner merged commit fc96e54 into python:master

Mar 19, 2019

@vstinner vstinner deleted the path0_empty_argv branch

April 29, 2019 13:57

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

Reviewers

@pablogsal pablogsal Awaiting requested review from pablogsal

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

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