On Dec 18, 2017, at 21:41, Chris Barker <chris.bar...@noaa.gov> wrote: > > TL;DR: > My point is that having type annotation syntax required for something in the > stdlib is a significant step toward "normalizing" type hinting in Python. > Whether that's a good idea or not is a judgement call, but it IS a big step.
This is something we’re discussing for importlib.resources: https://bugs.python.org/issue32248#msg308495 In the standalone version, we’re using annotations for the Python 3 bits. It would make our lives easier if we kept them for the stdlib version (applying diffs and keeping them in sync would be easier). Brett says in the follow up: "As for the type hints, I thought it was lifted such that new code could include it but we wouldn't be taking PRs to add them to pre-existing code?” So, what’s the deal? -Barry
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com