[Python-Dev] Re: creating struct-seq types from Python (original) (raw)

Fred L. Drake, Jr. fdrake@acm.org
Thu, 17 Oct 2002 14:54:06 -0400


Martin v. Loewis writes:

Not really, but I think all you need to do is to expose PyStructSequence_InitType. I would recommend an interface like

struct_seq(name, doc, n_in_sequence, (fields))

Sounds like a plan! I've assigned this to me, since I'm the one asking for this. ;-)

-Fred

-- Fred L. Drake, Jr. PythonLabs at Zope Corporation