I agree with what Batuhan said. Adding on, I'm very concerned about the 
potential maintenance burden for Python implementations.

Just for typing in CPython, some combination of the following knowledge is 
required to contribute code:
1. Metaclasses
2. Descriptors and CPython dunders
3. C internals due to PEP 585 and 604
4. If we throw in annotations internals, maybe we need some parser knowledge 
too, but this is usually not required.

With the new callable syntax, that likely needs strong parser and compiler 
knowledge. I'm not claiming everyone needs to know all of the above to 
contribute (to the contrary, not knowing most of these is fine), but IMO the 
list is getting very long. I'd be sad if one day new typing contributors feel 
too overwhelmed by typing's implementation complexity (I admit sometimes 
feeling overwhelmed too).

That said, thank you PEP authors for working to make Python's typing syntax 
more elegant. I hope my concerns didn't come across as overly harsh.

- KJ
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/YZG53T2D3UO6WZCR5U3N45GVAK3E7JPN/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to