[Patches] [ python-Patches-1151323 ] New fpconst module

SourceForge.net noreply at sourceforge.net
Tue Mar 1 03:20:44 CET 2005


Patches item #1151323, was opened at 2005-02-24 15:06
Message generated for change (Comment added) made by warnes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1151323&group_id=5470

Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gregory Warnes (warnes)
Assigned to: Nobody/Anonymous (nobody)
Summary: New fpconst module

Initial Comment:
This patch adds the 'fpconst' module, described in
PEP754 to the standard python library.  It includes
both the source code and the documentation.



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

>Comment By: Gregory Warnes (warnes)
Date: 2005-02-28 21:20

Message:
Logged In: YES 
user_id=9316

Response to etrepum:

Actually, I tried using '!' and '>' without success before
resorting to the big_endian_ check...

-Greg

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

Comment By: Bob Ippolito (etrepum)
Date: 2005-02-24 19:25

Message:
Logged In: YES 
user_id=139309

Is there a reason why you don't use the struct.pack endian markers?  You 
could get rid of all the code that deals with _big_endian if you just prefixed 
the formats with ! or >

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

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


More information about the Patches mailing list