Great article. I can definitely relate to making iter[] and callable[] type hint generics. Have you considered submitting that as an extension to PEP 585? Similarly, I do feel a Path literal is a fantastic idea and could be submitted as a PEP.

W.r.t a better def for yield, yield from would match the equivalent functionality of return splines() if I'm not mistaken.

Expand full comment