
Jan. 18, 2002
8:23 p.m.
[sorry if this is duplicated, I'm having mailer problems]
Also, the method seems rather complicated for doing a simple thing. The only thing I really want is a way to refer to an _New or _Convert method from Python code.
I believe the attached code implements your requirements.
Yes, this looks very much like what I had in mind, except that you demonstrate how to store and retrieve a C structure in the type's tp_dict. Nice intro into PyCObject! Thanks, Thomas