Re: [Python-3000] __methods__ and __members__

2007-03-10 Thread Brett Cannon
On 3/10/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 3/9/07, Georg Brandl <[EMAIL PROTECTED]> wrote: [SNIP] > > Okay, I looked into it. > > The old attribute semantics of offering a custom tp_getattr > > which dispatches to methods and members is mainly used in very old > > and platform-spe

Re: [Python-3000] __methods__ and __members__

2007-03-10 Thread Guido van Rossum
On 3/9/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > Guido van Rossum schrieb: > > 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 <[EMAIL PROTECTED]> wrote: > >> While revie

Re: [Python-3000] __methods__ and __members__

2007-03-09 Thread Georg Brandl
Guido van Rossum schrieb: > 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 <[EMAIL PROTECTED]> wrote: >> While reviewing the patch for __dir__() (which I'll apply then, since it

Re: [Python-3000] __methods__ and __members__

2007-03-07 Thread Guido van Rossum
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 <[EMAIL PROTECTED]> wrote: > While reviewing the patch for __dir__() (which I'll apply then, since it was > generally agreed upon at leas

[Python-3000] __methods__ and __members__

2007-03-07 Thread Georg Brandl
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 objec