This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author minrk
Recipients brett.cannon, christian.heimes, eric.snow, lemburg, minrk, ncoghlan, r.david.murray, tdsmith, vstinner
Date 2015-06-30.20:49:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435697385.56.0.101659110923.issue24534@psf.upfronthosting.co.za>
In-reply-to
Content
> Could you please post an example of where the feature is problematic ?

setuptools/easy_install is the major one, which effectively does `sys.path[:0] = pth_contents`, breaking import priority. This has been known to result in adding `/usr/lib/pythonX.Y/dist-packages` to the front of sys.path, having higher priority that the stdlib or `--user` -installed packages (I helped a user deal with a completely broken installation that was a result of exactly this last week). The result can often be that `pip list` doesn't accurately describe the versions of packages that are imported. It also causes `pip install -e` to result in completely different import priority from `pip install`, which doesn't use easy-install.pth. Removing the code execution from `easy-install.pth` solves all of these problems.
History
Date User Action Args
2015-06-30 20:49:45minrksetrecipients: + minrk, lemburg, brett.cannon, ncoghlan, vstinner, christian.heimes, r.david.murray, eric.snow, tdsmith
2015-06-30 20:49:45minrksetmessageid: <1435697385.56.0.101659110923.issue24534@psf.upfronthosting.co.za>
2015-06-30 20:49:45minrklinkissue24534 messages
2015-06-30 20:49:45minrkcreate