[egenix-users] mx.DateTime.DateTimeDelta.pytimedelta() segfaults

M.-A. Lemburg mal at egenix.com
Sun Nov 25 20:40:37 CET 2012


Hi Joel,

thanks for reporting the bug. We are able to reproduce this on our
systems, so will investigate and then get back to you.

Regards,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Nov 25 2012)
>>> Python Projects, Consulting and Support ...   http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ...       http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/

On 25.11.2012 20:27, Joel Rosdahl wrote:
> 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)
> 
> 
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> https://www.egenix.com/mailman/listinfo/egenix-users
> 



More information about the egenix-users mailing list