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 pitrou
Recipients flox, pitrou, vstinner
Date 2010-08-13.18:34:04
SpamBayes Score 0.00046140913
Marked as misclassified No
Message-id <1281724447.46.0.689073206815.issue9589@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch which works if the patch in #9548 is also applied.
It won't work alone because opening a file in text mode currently imports locale which imports re, etc. ... all before adding the build dir to sys.path.

Of course, since the logic in addbuilddir() is now much simpler, it could also be rewritten in C somewhere (where?), and the launched much earlier during the startup phase.
History
Date User Action Args
2010-08-13 18:34:07pitrousetrecipients: + pitrou, vstinner, flox
2010-08-13 18:34:07pitrousetmessageid: <1281724447.46.0.689073206815.issue9589@psf.upfronthosting.co.za>
2010-08-13 18:34:05pitroulinkissue9589 messages
2010-08-13 18:34:05pitroucreate