[3.7] bpo-32573: sys.argv always exists and is non-empty by vstinner · Pull Request #13553 · python/cpython · GitHub
Skip to content

[3.7] bpo-32573: sys.argv always exists and is non-empty - #13553

Closed
vstinner wants to merge 1 commit into
python:3.7from
vstinner:main_argv37
Closed

vstinner wants to merge 1 commit into
python:3.7from
vstinner:main_argv37

Conversation

@vstinner

@vstinner vstinner commented May 24, 2019

Copy link
Copy Markdown
Member

Ensure that sys.argv always exists and is non-empty.

When Python is embedded in an application and argv is not set,
use [''].

https://bugs.python.org/issue32573

Ensure that sys.argv always exists and is non-empty.

When Python is embedded in an application and ``argv`` is not set,
use [''].
@vstinner

Copy link
Copy Markdown
Member Author

@ned-deily

Copy link
Copy Markdown
Member

I don't think we should change this behavior in a maintenance release unless it were a regression in 3.7. It's not, though, right?

@vstinner

vstinner commented Jun 2, 2019

Copy link
Copy Markdown
Member Author

@vstinner vstinner closed this Jun 2, 2019
@vstinner
vstinner deleted the main_argv37 branch June 2, 2019 21:57
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.

4 participants