Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 24, 2019

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
Member Author

@ncoghlan: Do you consider that https://bugs.python.org/issue32573 is a bug that should be fixed in Python 3.7? Is it ok to change the behavior in a minor Python 3.7 release?

See also PR #12463.

@ned-deily
Copy link
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
Copy link
Member Author

vstinner commented Jun 2, 2019

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?

Ok. I close my PR.

@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