[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
- Previous message: [Python-Dev] Re: creating struct-seq types from Python
- Next message: [Python-Dev] Valgrind on 2.2.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Re: creating struct-seq types from Python
- Next message: [Python-Dev] Valgrind on 2.2.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]