Antoine Pitrou <pit...@free.fr> added the comment:

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.

----------
keywords: +patch
Added file: http://bugs.python.org/file18504/addbuilddir.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9589>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to