Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-104549: Set __module__ on TypeAliasType (#104550) | Jelle Zijlstra | 2023-05-18 | 1 | -1/+4 |
| | |||||
* | bpo-46348: modernize `test_typing` (GH-30547) | Nikita Sobolev | 2022-01-12 | 1 | -42/+10 |
| | |||||
* | bpo-28556: typing.get_type_hints: better globalns for classes and modules ↵ | Łukasz Langa | 2017-09-14 | 1 | -6/+45 |
| | | | | | | | | | | | | | | | (#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 Levkivskyi | 2017-02-13 | 1 | -0/+14 |
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 |