On 10/19/2019 07:56 PM, Steve Jorgensen wrote:

When using a custom classdict to implement a DSL or use in the body of a class 
definition, from what I can tell by experiment, the classdict takes priority, 
and the surrounding context is only referenced if trying to get an item from 
the classdict raises `KeyError`.

An example would work wonders for explaining what you are asking.  It sounds 
like an interesting problem, but I can't tell exactly what you need.

--
~Ethan~
_______________________________________________
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/Q5TNSN6EBXTRHKJ37UVBTPPF4ZCSYZAV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to