R. David Murray added the comment:

My guess, unfortunately, is give up.  There is too much code in the field that 
replaces sys.path with a regular list.  What you propose is effectively an 
impossible social engineering problem.  You may well also run into issues where 
the Python C code calls list methods directly even if sys.path is a subclass of 
list. (I don't know that that is true, but there are certainly places where the 
C code does that kind of thing).

Could you get consensus to change stdlib and pip practice?  That's at least 
conceivable.  I guess python-ideas would be the place to start for that.  I'm 
going to close the issue, since this would be a PEP level change if you are 
successful.  (Frankly, I don't think you are likely to be successful, but I 
don't hang out on python-ideas so I might be wrong :)

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24135>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to