Issue #26587: Allow .pth files to specify file paths as well as

directories.

Thanks to Wolfgang Langner for the bug report and initial version of
the patch.
This commit is contained in:
Brett Cannon 2016-04-08 15:04:28 -07:00
parent ef0138f421
commit 5f0507d8ab
5 changed files with 22 additions and 10 deletions

View file

@ -251,6 +251,14 @@ Previously, names of properties and slots which were not yet created on
an instance were excluded. (Contributed by Martin Panter in :issue:`25590`.)
site
----
When specifying paths to add to :attr:`sys.path` in a `.pth` file,
you may now specify file paths on top of directories (e.g. zip files).
(Contributed by Wolfgang Langner in :issue:`26587`).
telnetlib
---------