[issue23279] test_site/test_startup_imports fails when mpl_toolkit or logilab based modules installed

2015-03-08 Thread Brett Cannon
Brett Cannon added the comment: Python's startup performance is very sensitive to what modules get imported for all Python programs. The tests that are failing for you make sure that a core developer doesn't accidentally introduce a new startup dependency and thus slow startup times without

[issue23279] test_site/test_startup_imports fails when mpl_toolkit or logilab based modules installed

2015-03-07 Thread Mark Lawrence
Mark Lawrence added the comment: I've added names from the nosy list for #20986 as it appears to be similar. -- nosy: +BreamoreBoy, brett.cannon, christian.heimes, ncoghlan, vinay.sajip ___ Python tracker rep...@bugs.python.org

[issue23279] test_site/test_startup_imports fails when mpl_toolkit or logilab based modules installed

2015-01-19 Thread Douglas Rudd
New submission from Douglas Rudd: pth files for logilab (e.g. logilab_common, logilab_astng) and mpl_toolkit (e.g. basemap, matplotlib) contain code like the following (taken from basemap 1.0.7): import sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'],