building _ctypes in trunk fails first time around
If I run "make clean" and then "make", builting _ctypes fails with this message: *** WARNING: renaming "_ctypes" since importing it failed: No module named _weakref Typing "make" a second time fixes this -- it seems a simple matter of _ctypes being built before _weakref. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
Guido van Rossum schrieb:
If I run "make clean" and then "make", builting _ctypes fails with this message:
*** WARNING: renaming "_ctypes" since importing it failed: No module named _weakref
Typing "make" a second time fixes this -- it seems a simple matter of _ctypes being built before _weakref.
What a pity. Can the order be changed in which the extensions are built, or should the importing be tried after all the extensions are ready? Or should _weakref be made a builtin module? Thomas
Guido van Rossum wrote:
If I run "make clean" and then "make", builting _ctypes fails with this message:
*** WARNING: renaming "_ctypes" since importing it failed: No module named _weakref
Typing "make" a second time fixes this -- it seems a simple matter of _ctypes being built before _weakref.
I applied a quick fix in r60043. Christian
participants (3)
-
Christian Heimes
-
Guido van Rossum
-
Thomas Heller