-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Amaury Forgeot d'Arc wrote: | I think you were close, you just have to be careful to call | PyType_Ready in the module init function, | to create the descriptors for each tp_methods and tp_members entries.
Already done :). Thanks for answering. My doubt now is how do write a *clever* "getattr" routine without "Py_FindMethod". - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ [EMAIL PROTECTED] - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:[EMAIL PROTECTED] _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBSI8hVplgi5GaxT1NAQIHzwP+Kociw4Tg+eUCj/jQh+G2ILJY7hzdDqz7 9Bv24LAUGiwm7X7UvS7sD1ILhu4F6EDs1q7qY6jtJDjSc5+TwoAOoGNt3vTdv3Rk KgNeLzBzuwzA2uhX5YYyjGu1InkOzJw9ZLo8joY+mnujkI9Ps9txSOymLNtffp4U WzQ3BuYvDbo= =orpJ -----END PGP SIGNATURE----- _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com