]> granicus.if.org Git - python/commit
bpo-28556: Various updates to typing (#28) (#78)
authorMariatta <Mariatta@users.noreply.github.com>
Mon, 13 Feb 2017 22:28:58 +0000 (14:28 -0800)
committerGitHub <noreply@github.com>
Mon, 13 Feb 2017 22:28:58 +0000 (14:28 -0800)
commit9c5684e0d380cf5bc109888603756084588ce617
tree64deaca465451f66787fd4f40ae11dd2dec2e75f
parentaf456b241bd4889ac94eb215e73da400380460a0
bpo-28556: Various updates to typing (#28) (#78)

various updates from upstream python/typing repo:

- Added typing.Counter and typing.ChainMap generics
- More flexible typing.NamedTuple
- Improved generic ABC caching
- More tests
- Bugfixes
- Other updates

* Add Misc/NEWS entry

* Add issue number

Contributed by Ivan Levkivskyi @ilevkivskyi

(cherry picked from commit b692dc8475a032740576129d0990ddc3edccab2b)
Lib/test/mod_generics_cache.py [new file with mode: 0644]
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS