[issue9012] Separate compilation of time and datetime modules
Matthias Klose
report at bugs.python.org
Sun Jul 4 15:33:10 CEST 2010
Matthias Klose <doko at debian.org> added the comment:
this breaks the build if the time and datetime extensions are built statically into the python interpreter.
The build fails with a link error; adding the _time extension to Modules/Setup.dist
@@ -160,6 +160,7 @@
#cmath cmathmodule.c _math.c # -lm # complex math library functions
#math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
#_struct _struct.c # binary structure packing/unpacking
+#_time _time.c # # segregated code shared between time and datetime modules
#time timemodule.c # -lm # time operations and variables
#operator operator.c # operator.add() and similar goodies
#_weakref _weakref.c # basic weak reference support
you get another link error:
libpython3.2.a(config.o):(.data+0x58): undefined reference to `PyInit__time'
collect2: ld returned 1 exit status
because _time isn't a proper extension.
raising the severity as this is a regression
----------
nosy: +doko
priority: normal -> high
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9012>
_______________________________________
More information about the Python-bugs-list
mailing list