Deprecate self

Steve Holden sholden at holdenweb.com
Thu Apr 19 08:27:29 EDT 2001


"Jeremy Hylton" <jeremy at digicool.com> wrote in message
news:mailman.987654387.28996.python-list at python.org...
> >>>>> "RD" == Rainer Deyke <root at rainerdeyke.com> writes:
>
>   RD> def f():
>   RD>   class C:
>   RD>     pass
>   RD>   C()
>
>   RD> This is, incidentially, the idiom I had to use extensively to
>   RD> deal with the lack of nested scoping in Python.  More generally,
>   RD> you write a class for which subclasses don't make sense.
>
> It's former lack of nested scopes, I believe ;-).
>
Perhaps you meant "before its implementation of nested scopes in the
__future__"?

regards
 Steve






More information about the Python-list mailing list