On Sep 27, 2019, at 17:20, Guido van Rossum <[email protected]> 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 -- [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/TPCZH4BZYPWCHMYTHZXDQSBHAZ5LSG62/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to