[Python-Dev] PEP 549: Instance Properties (aka: module properties)
levkivskyi at gmail.com
Thu Sep 14 16:21:38 EDT 2017
On 14 September 2017 at 22:07, Ethan Furman <ethan at stoneleaf.us> wrote:
> For comparison's sake, what would the above look like using __class__
> assignment? And what is the performance difference?
Actually I tried but I can't implement this without module __getattr__
so that one can just write:
from typing_extensions import allow_forward_references
Maybe I am missing something, but either it is impossible in principle or
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev