[issue24534] disable executing code in .pth files

R. David Murray report at bugs.python.org
Mon Jun 29 22:18:47 CEST 2015


R. David Murray added the comment:

I'm guessing this feature has been around too long and is used in too many ways to remove.  I believe it is effectively disabled by -I (if it is not, that would be a valid feature request).  However, since setuptools was the pioneer in this area, if setuptools is no longer using it, perhaps a deprecation would be possible.  I think it would probably have to happen over more than one release, to insure enough time to implement any features needed to replace the deprecated functionality.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24534>
_______________________________________


More information about the Python-bugs-list mailing list