20.12.21 21:28, Brett Cannon пише: > As someone with use of this, would you find this useful (i.e. +1, +0)? > Serhiy already said "no" in another thread.
In every file we import 5-10 or more names from the typing module. We still does not use PEP 585 and PEP 604 syntax, but are going to do this in near future. It could save as from importing List, Tuple, Dict, Set, Union, Optional, but we still need to import Any, Sequence, Iterable, Iterator, AsyncIterator, Awaitable, TypeVar, and sometimes AsyncContextManager, NewType, cast, overload. Special syntax for callable type hints will not save game. _______________________________________________ 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/NLLN4IGOKCQZP7LYM7VBQSGGGWPW3WKZ/ Code of Conduct: http://python.org/psf/codeofconduct/