diff options
author | Guido van Rossum <guido@python.org> | 2016-04-05 15:28:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2016-04-05 15:28:52 (GMT) |
commit | bd5b9a074241c6146bdcacef9a1e84f48c7c8d8a (patch) | |
tree | 019b5a1657f7b4a9a78f18daf5449a89c882539c /Python/_warnings.c | |
parent | 0f7673943a4ad633c59071b24b1f170a0df442c3 (diff) | |
download | cpython-bd5b9a074241c6146bdcacef9a1e84f48c7c8d8a.zip cpython-bd5b9a074241c6146bdcacef9a1e84f48c7c8d8a.tar.gz cpython-bd5b9a074241c6146bdcacef9a1e84f48c7c8d8a.tar.bz2 |
Many changes from the upstream repo (https://github.com/python/typing).
This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there.
Summary:
- Add typing.DefaultDict (as a generic variant of collections.defaultdict).
- Use collections.Reversible if it exists (only relevant for Python 3.6).
- Revamped generic class behavior to conform to updated PEP 484.
- Improve speed of Generic.__new__.
- Make sure __init__ is called for new Generic instances. Fix issue #26391.
- Refactor async support to be compatible with 3.2, 3.3, 3.4.
- Remove 'io' and 're' from __all__ (they still exist, just not
included by "import *"). Fix issue #26234.
- Change @overload -- you can now use it outside stubs (you still
cannot call the decorated function though).
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions