[Python-Dev] building _ctypes in trunk fails first time around (original) (raw)

Thomas Heller theller at ctypes.org
Fri Jan 18 08:22:15 CET 2008


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



More information about the Python-Dev mailing list