[egenix-users] mx.DateTime.DateTimeDelta.pytimedelta() segfaults
Joel Rosdahl
joel at debian.org
Sun Nov 25 20:27:11 CET 2012
Hi,
Reported by a Debian user
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664686):
An mx.DateTimeDelta object created with DateTimeDeltaFrom() crashes on
pytimedelta() call. For example:
$ python
Python 2.7.2+ (default, Nov 30 2011, 19:22:03)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mx.DateTime
>>> t = mx.DateTime.DateTimeDeltaFrom("3 hours")
>>> t
<mx.DateTime.DateTimeDelta object for '03:00:00.00' at 7fcbf377f870>
>>> t.absvalues()
(0, 10800.0)
>>> t.pytimedelta()
Segmentation fault
Reported on mxBase 3.2.1 but crashes on 3.2.4 as well.
Regards,
-- Joel (Debian package maintainer)
More information about the egenix-users
mailing list