On Sep 27, 2019, at 17:20, Guido van Rossum <gu...@python.org> wrote:
> 
> Thinking aloud, perhaps this could be done by setting __slots__ to a magical 
> value, e.g.
> 
> class Point:
>     __slots__ = "__auto__"
>     x: float
>     y: float

Would this confuse any existing automated tools (or dataclass-like libraries) 
into thinking you’re declaring slots named _, a, u, t, and o?

(I don’t think there’s any danger of confusing human readers, at least.)

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

Reply via email to