diff options
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/library/site.rst | 3 | ||||
| -rw-r--r-- | Doc/whatsnew/3.4.rst | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst index 2175c3e2e7..d93e938b5c 100644 --- a/Doc/library/site.rst +++ b/Doc/library/site.rst @@ -38,6 +38,9 @@ Unix and Macintosh). For each of the distinct head-tail combinations, it sees if it refers to an existing directory, and if so, adds it to ``sys.path`` and also inspects the newly added path for configuration files. +.. deprecated:: 3.4 + Support for the "site-python" directory will be removed in 3.5. + If a file named "pyvenv.cfg" exists one directory above sys.executable, sys.prefix and sys.exec_prefix are set to that directory and it is also checked for site-packages and site-python (sys.base_prefix and diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 392af3b3c5..6e261d5913 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -685,7 +685,8 @@ Deprecated functions and types of the C API Deprecated features ------------------- -* No feature deprecations are planned for Python 3.4. +* The site module adding a "site-python" directory to sys.path, if it + exists, is deprecated (:issue:`19375`). Porting to Python 3.4 |
