[Patches] [ python-Patches-1494140 ] Documentation for new Struct object
SourceForge.net
noreply at sourceforge.net
Fri May 26 15:05:30 CEST 2006
Patches item #1494140, was opened at 2006-05-24 05:26
Message generated for change (Comment added) made by etrepum
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1494140&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: Documentation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Bob Ippolito (etrepum)
Assigned to: Nobody/Anonymous (nobody)
Summary: Documentation for new Struct object
Initial Comment:
The performance enhancements to the struct module (patch #1493701)
are implemented by having a Struct object, which is a compiled structure.
This text file documents these new struct objects.
----------------------------------------------------------------------
>Comment By: Bob Ippolito (etrepum)
Date: 2006-05-26 09:05
Message:
Logged In: YES
user_id=139309
We're going to need to revise this patch some more to document the new
pack_to function (for Martin Blais' hotbuf work)
Additionally we'll probably also want to revise the main struct documentation to
talk about bounds checking and avoiding the creation of long objects.
----------------------------------------------------------------------
Comment By: Bob Ippolito (etrepum)
Date: 2006-05-25 10:32
Message:
Logged In: YES
user_id=139309
That's clearly a typo. I've attached a new version of the patch that removes those
two letters.
----------------------------------------------------------------------
Comment By: Jim Jewett (jimjjewett)
Date: 2006-05-24 17:03
Message:
Logged In: YES
user_id=764593
Shouldn't self.size be the number of bytes required to *pack
* the structure? The number required to *unpack* seems
like it ought to include tuple overhead and such...
----------------------------------------------------------------------
Comment By: Bob Ippolito (etrepum)
Date: 2006-05-24 11:35
Message:
Logged In: YES
user_id=139309
New patch attached, fixed unpack documentation, added unpack_from method.
----------------------------------------------------------------------
Comment By: Bob Ippolito (etrepum)
Date: 2006-05-24 10:54
Message:
Logged In: YES
user_id=139309
Hold up on this patch, I need to revise it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1494140&group_id=5470
More information about the Patches
mailing list