[Patches] [ python-Patches-980098 ] Module to dynamically generate structseq objects

SourceForge.net noreply at sourceforge.net
Sat Jun 26 19:55:30 EDT 2004


Patches item #980098, was opened at 2004-06-25 18:12
Message generated for change (Comment added) made by ehuss
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=980098&group_id=5470

Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Eric Huss (ehuss)
Assigned to: Nobody/Anonymous (nobody)
Summary: Module to dynamically generate structseq objects

Initial Comment:
The following module allows you to create custom 
structseq objects from python.

It requires a patch to structseq.c in order to correctly 
allocate the type object on the heap.

I wasn't sure about the best way to allocate a type 
object on the heap, so this is my best effort.  I'm going 
to follow up with a posting to python-dev to see what 
others think.

This file will probably need to be updated to conform to 
python style standards.

Feel free to include this in the standard Python 
distribution.  I am willing to handle future updates/fixes 
for it.

This is related to bug 624827 filed by Fred L. Drake to 
add similar functionality.


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

>Comment By: Eric Huss (ehuss)
Date: 2004-06-26 16:55

Message:
Logged In: YES 
user_id=393416

New patch that does away with the factory object and just 
produces type objects via a builtin function.

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

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



More information about the Patches mailing list