On Mon, Nov 1, 2021 at 5:57 PM Guido van Rossum <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/T3GSNI4SBHAWYTDLJKGNOUJXL2ISA62R/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to