[Python-3000] __methods__ and __members__

Guido van Rossum guido at python.org
Wed Mar 7 18:43:04 CET 2007


I don't recall ripping them out, but it's worth trying to do that --
they really shouldn't be needed for modern extensionmodules (2.2+).

On 3/7/07, Georg Brandl <g.brandl at gmx.net> wrote:
> While reviewing the patch for __dir__() (which I'll apply then, since it was
> generally agreed upon at least for Py3k), I came about this:
>
> /* Merge in __members__ and __methods__ (if any).
>     XXX Would like this to go away someday; for now, it's
>     XXX needed to get at im_self etc of method objects. */
>
> What is the status of __methods__ and __members__? Is this (and the docs)
> the only trace that's left of it?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list