[Python-Dev] Metaclass problem in the "with" statement semantics in PEP 343

Guido van Rossum guido at python.org
Tue Nov 29 16:17:56 CET 2005


On 11/29/05, Michael Chermside <mcherm at mcherm.com> wrote:
> Right now, we say that there's one rule for all *normal* attributes and
> methods, and a slightly different rule for all double-underbar methods.

But it's not normal vs. __xyzzy__. A specific set of slots (including
next, but excluding things like __doc__) get special treatment. The
rest don't. All I'm saying is that I don't care to give __context__
this special treatment.

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


More information about the Python-Dev mailing list