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 x746e
Recipients x746e
Date 2013-01-15.15:19:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358263158.12.0.256435330615.issue16972@psf.upfronthosting.co.za>
In-reply-to
Content
In Lib/site.py:149 [1] _init_pathinfo call has no effect.  Looks like it's here because in the past _init_pathinfo was changing a global variable [2].  I believe that it should be changed to `known_paths = _init_pathinfo()`, in the same way as it's done in addsitedir function [3].

[1] http://hg.python.org/cpython/file/fb17969ace93/Lib/site.py#l149
[2] http://hg.python.org/cpython/annotate/ac13a6ce13e2/Lib/site.py#l102
[3] http://hg.python.org/cpython/file/fb17969ace93/Lib/site.py#l189
History
Date User Action Args
2013-01-15 15:19:18x746esetrecipients: + x746e
2013-01-15 15:19:18x746esetmessageid: <1358263158.12.0.256435330615.issue16972@psf.upfronthosting.co.za>
2013-01-15 15:19:18x746elinkissue16972 messages
2013-01-15 15:19:17x746ecreate