aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/mod_generics_cache.py
Commit message (Collapse)AuthorAge
* gh-108303: Move more `typing` related files to `Lib/test/typinganndata` ↵Nikita Sobolev2023-11-08
| | | | | (#111825) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-104549: Set __module__ on TypeAliasType (#104550)Jelle Zijlstra2023-05-18
|
* bpo-46348: modernize `test_typing` (GH-30547)Nikita Sobolev2022-01-12
|
* bpo-28556: typing.get_type_hints: better globalns for classes and modules ↵Łukasz Langa2017-09-14
| | | | | | | | | | | | | | | (#3582) This makes the default behavior (without specifying `globalns` manually) more predictable for users, finds the right globalns automatically. Implementation for classes assumes has a `__module__` attribute and that module is present in `sys.modules`. It does this recursively for all bases in the MRO. For modules, the implementation just uses their `__dict__` directly. This is backwards compatible, will just raise fewer exceptions in naive user code. Originally implemented and reviewed at https://github.com/python/typing/pull/470.
* bpo-28556: Various updates to typing (#28)Ivan Levkivskyi2017-02-13
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