[Patches] [ python-Patches-1762561 ] unable to serialize Infinity or NaN on ARM using marshal
SourceForge.net
noreply at sourceforge.net
Sat Jul 28 10:41:18 CEST 2007
Patches item #1762561, was opened at 2007-07-28 10:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1762561&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Matthias Klose (doko)
Assigned to: Nobody/Anonymous (nobody)
Summary: unable to serialize Infinity or NaN on ARM using marshal
Initial Comment:
forwarded from http://bugs.debian.org/434905, patch by
Aurelien Jarno.
python2.5 is unable to serialize a floating point variable which equals Infinity or NaN on ARM using marshal.
The problem is that python2.5 wants to manage the floating points in memory by itself, and assume that they are only little and big endian IEEE formats. Otherwise it fallback to a generic code, which does not handle NaN or Infinity.
The attached patched fixed that by adding mixed-endian IEEE format, as it can be found on ARM old-ABI.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1762561&group_id=5470
More information about the Patches
mailing list