Gregory Beauregard <g...@greg.red> added the comment:

Thanks for the feedback Carl.

Your proposed nesting PEP change is not possible: ClassVar[Final[int]] isn't 
valid because Final[int] isn't a type. As far as I know this would need type 
intersections to be possible.

I'm going to try sending a one-off email to the PEP authors since probably 
whatever happens the PEP needs a clarification anyway.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45384>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to