diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-19 15:09:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 15:09:27 (GMT) |
commit | dcf617152e1d4c4a5e7965733928858a9c0936ca (patch) | |
tree | 61c2ce7f9a4bcb8a1f48efb1a24b0f50d4029372 /Misc/NEWS.d/next | |
parent | f5f336a819a3d881bb217bf8f9b5cacba03a4e45 (diff) | |
download | cpython-dcf617152e1d4c4a5e7965733928858a9c0936ca.zip cpython-dcf617152e1d4c4a5e7965733928858a9c0936ca.tar.gz cpython-dcf617152e1d4c4a5e7965733928858a9c0936ca.tar.bz2 |
bpo-36236: Handle removed cwd at Python init (GH-12424)
At Python initialization, the current directory is no longer
prepended to sys.path if it has been removed.
Rename _PyPathConfig_ComputeArgv0() to
_PyPathConfig_ComputeSysPath0() to avoid confusion between argv[0]
and sys.path[0].
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-03-19-03-08-26.bpo-36236.5qN9qK.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-03-19-03-08-26.bpo-36236.5qN9qK.rst b/Misc/NEWS.d/next/Core and Builtins/2019-03-19-03-08-26.bpo-36236.5qN9qK.rst new file mode 100644 index 0000000..e1c1182 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-03-19-03-08-26.bpo-36236.5qN9qK.rst @@ -0,0 +1,2 @@ +At Python initialization, the current directory is no longer prepended to +:data:`sys.path` if it has been removed. |