diff options
author | idomic <michael.ido@gmail.com> | 2020-09-19 19:13:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 19:13:29 (GMT) |
commit | 0c71a66b53f6ea262aa5a60784c8c625ae0bb98c (patch) | |
tree | 496b2a1bdaedda9a2fd849a8c4ffb8688b14b98c /Misc | |
parent | ae0d2a33ec05aece939a959d36fcf1df1e210a08 (diff) | |
download | cpython-0c71a66b53f6ea262aa5a60784c8c625ae0bb98c.zip cpython-0c71a66b53f6ea262aa5a60784c8c625ae0bb98c.tar.gz cpython-0c71a66b53f6ea262aa5a60784c8c625ae0bb98c.tar.bz2 |
bpo-33689: Blank lines in .pth file cause a duplicate sys.path entry (GH-20679)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-06-06-14-09-55.bpo-33689.EFUDH7.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-06-06-14-09-55.bpo-33689.EFUDH7.rst b/Misc/NEWS.d/next/Library/2020-06-06-14-09-55.bpo-33689.EFUDH7.rst new file mode 100644 index 0000000..bc0756d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-06-06-14-09-55.bpo-33689.EFUDH7.rst @@ -0,0 +1,4 @@ +Ignore empty or whitespace-only lines in .pth files. This matches the
+documentated behavior. Before, empty lines caused the site-packages
+dir to appear multiple times in sys.path.
+By Ido Michael, contributors Malcolm Smith and Tal Einat.
|