[Python-3000] Help replacing Py_FindMethod

Jesus Cea jcea at jcea.es
Tue Jul 29 15:55:34 CEST 2008


-----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                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"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-----


More information about the Python-3000 mailing list