Hacker News new | ask | show | jobs
by greglindahl 3435 days ago
The docs pointed me to PEP 484 and 526, that's why I mentioned exactly what I'd looked at. PEP 3107 is not mentioned in https://docs.python.org/3/library/typing.html

Not trying to be pedantic here, just illustrating the point that this style of function can collide with future language developments, and confuse users.

Here's someone complaining that PEP 484 doesn't mention the impact of the new syntax on lambda: https://mail.python.org/pipermail/python-dev/2015-April/1397...