Is there any documentation anywhere on how to go about writing an
extension which implements a new type? The extending/embedding
tutorial give me, very quickly and painlessly, a module with
functions, but I could really do with them being object methods.
http://www.python.org/doc/current/api/newTypes.html is unhelpful
in the extreme -- do I have to resort to reading source?
--
\S -- siona@chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
| If music be the food of love, bring me a doggie bag.
extension which implements a new type? The extending/embedding
tutorial give me, very quickly and painlessly, a module with
functions, but I could really do with them being object methods.
http://www.python.org/doc/current/api/newTypes.html is unhelpful
in the extreme -- do I have to resort to reading source?
--
\S -- siona@chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
| If music be the food of love, bring me a doggie bag.