Extension module interdependencies

Mark Rowe bdash at gmx.net
Mon Feb 24 19:25:50 CET 2003

On Monday, Feb 24, 2003, at 22:20 Pacific/Auckland, Anders J. Munch 

> Been there - didn't find a fully satisfactory solution.
> There are three directions to go.
> 1) Pass your C objects around packaged as PyCObject-s.  Whenever you
> need to invoke a method on a BarObject from foo, bar must provide a
> wrapper function that takes a PyCObject argument and calls the method.
> This is cumbersome and intrusive, but The Right Way.

Thank you very much for bringing PyCObject's to my attention.  The 
documentation provides a relatively straight-forward way to do what I 
want, though as you say it is rather cumbersome.

-- Mark Rowe
bdash at clear.net.nz

More information about the Python-list mailing list