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

bpo-20443: No longer make sys.argv[0] absolute for script #17534

Merged
merged 1 commit into from Dec 9, 2019

Conversation

@vstinner
Copy link
Member

vstinner commented Dec 9, 2019

In Python 3.9.0a1, sys.argv[0] was made an asolute path if a filename
was specified on the command line. Revert this change, since most
users expect sys.argv to be unmodified.

https://bugs.python.org/issue20443

In Python 3.9.0a1, sys.argv[0] was made an asolute path if a filename
was specified on the command line. Revert this change, since most
users expect sys.argv to be unmodified.
@vstinner vstinner merged commit a1a99b4 into python:master Dec 9, 2019
4 checks passed
4 checks passed
Azure Pipelines PR #20191209.25 succeeded
Details
bedevere/issue-number Issue number 20443 found
Details
bedevere/news News entry found in Misc/NEWS.d
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@vstinner vstinner deleted the vstinner:argv_not_abs branch Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.