This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients belopolsky, brett.cannon, doko, loewis, mark.dickinson, vstinner
Date 2010-07-04.13:33:07
SpamBayes Score 0.0025769153
Marked as misclassified No
Message-id <1278250390.76.0.469515668666.issue9012@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-07-04 13:33:11dokosetrecipients: + doko, loewis, brett.cannon, mark.dickinson, belopolsky, vstinner
2010-07-04 13:33:10dokosetmessageid: <1278250390.76.0.469515668666.issue9012@psf.upfronthosting.co.za>
2010-07-04 13:33:09dokolinkissue9012 messages
2010-07-04 13:33:07dokocreate