[Patches] [ python-Patches-1181301 ] make float packing copy bytes when they can

SourceForge.net noreply at sourceforge.net
Tue Apr 12 19:18:40 CEST 2005


Patches item #1181301, was opened at 2005-04-12 08:37
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1181301&group_id=5470

Category: Core (C code)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: make float packing copy bytes when they can

Initial Comment:
As discussed on python-dev, this makes the 
_PyFloat_{Pack,Unpack}{4,8} functions copy bytes around when 
peering at 1.5 has the right result.

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2005-04-12 18:18

Message:
Logged In: YES 
user_id=6656

New patch, which attacks comments in floatobject.h and implements Tim's 
idea of refusing to unpack an IEEE special on a non-IEEE platform.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1181301&group_id=5470


More information about the Patches mailing list