[New-bugs-announce] [issue24135] Policy for altering sys.path
Thomas Güttler
report at bugs.python.org
Wed May 6 15:03:53 CEST 2015
New submission from Thomas Güttler:
I am missing a policy how sys.path should be altered.
We run a custom sub class of list in sys.path. We set it in sitecustomize.py
This instance get replace by a common list in lines like this:
sys.path = glob.glob(os.path.join(WHEEL_DIR, "*.whl")) + sys.path
The above line is from pip, it similar things happen in a lot of packages.
Before trying to solve this with code, I think the python community should agree an a policy for altering sys.path.
What can I do to this done?
We use Python 2.7.
----------
messages: 242664
nosy: Thomas Güttler
priority: normal
severity: normal
status: open
title: Policy for altering sys.path
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24135>
_______________________________________
More information about the New-bugs-announce
mailing list