[issue19375] Deprecate site-python in site.py

2013-10-25 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19375] Deprecate site-python in site.py

2013-10-25 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 90c56229efb7 by Antoine Pitrou in branch 'default':
Issue #19375: The site module adding a "site-python" directory to sys.path, if 
it exists, is now deprecated.
http://hg.python.org/cpython/rev/90c56229efb7

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19375] Deprecate site-python in site.py

2013-10-24 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Here is a patch.

--
keywords: +patch
Added file: http://bugs.python.org/file32342/deprecate_site_python.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19375] Deprecate site-python in site.py

2013-10-24 Thread Barry A. Warsaw

Changes by Barry A. Warsaw :


--
nosy: +barry

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19375] Deprecate site-python in site.py

2013-10-24 Thread STINNER Victor

STINNER Victor added the comment:

Guido wrote "I suggest that we remove that feature. (People who want it can 
always patch up their own $PYTHONPATH.)". It's different than deprecating the 
feature :-)

I didn't know the feature before you proposed to remove it. Is the site-python 
thing used in the wild? I never see any OS relying on it.

--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19375] Deprecate site-python in site.py

2013-10-24 Thread Antoine Pitrou

New submission from Antoine Pitrou:

I suggest deprecating the "site-python" feature from site.py, as proposed by 
Guido on python-dev:
https://mail.python.org/pipermail/python-dev/2013-October/129820.html

- if a "site-python" directory is detected and added from site.py, a 
DeprecationWarning should be emitted
- the site.py docs should mention the deprecation

--
components: Library (Lib)
messages: 201103
nosy: christian.heimes, loewis, pitrou
priority: normal
severity: normal
status: open
title: Deprecate site-python in site.py
type: enhancement
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com