The __unicode__ method in the C API, and other __-methods
"Martin v. Löwis"
martin at v.loewis.de
Fri Jun 11 01:04:55 EDT 2004
Marcin 'Qrczak' Kowalczyk wrote:
> and on the other hand the implementation
> of tp_getattro of Kogut objects wrapped in Python has a special case,
> only one special case, which checks for "__unicode__" and returns the
> appropriate convert-to-Unicode bound method instead of forwarding the
> attribute access to the original object.
Why didn't you use Py_FindMethod for that?
Regards,
Martin
More information about the Python-list
mailing list