On 16/08/07, Eric Smith <[EMAIL PROTECTED]> wrote: > Christian Heimes wrote: > > look at Objects/typeobject.c and grep for PyMethodDef object_methods[] > > I should have mentioned that's among the things I've already tried. [...] > You don't see the methods in typeobject.c (__mro__, etc).
__mro__ is in type_members (at the top of the file). You want object_methods (lower down). All it currently defines is __reduce__ and __reduce_ex__ (which are in dir(object()). I've not tested (or ever used) this, so I could be wrong, of course. Paul. _______________________________________________ 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