On Mon, Nov 1, 2021 at 5:57 PM Guido van Rossum <gu...@python.org> wrote:
>
> Agreed, class namespaces are weird. :-)
>

Ah yes, I forgot about class namespaces. I was thinking about
deliberately wonky namespaces where the ns dict has a __missing__
method or something, but inside a class, "b = b" actually has a very
useful meaning :)

It still doesn't change the behaviour of the object b though.

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/T3GSNI4SBHAWYTDLJKGNOUJXL2ISA62R/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to