[issue9548] locale can be imported at startup but relies on too many library modules
STINNER Victor
report at bugs.python.org
Tue Aug 10 11:27:00 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> heapq tries to import _heapq but, at this point, the build dir
> (such as "build/lib.linux-x86_64-3.2/") hasn't been added to sys.path
The problem only exists for developers, not for an installation copy of Python?
Another approach is to call required site code earlier (eg. rewrite it in C and execute it before loading the locale module).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9548>
_______________________________________
More information about the Python-bugs-list
mailing list