◐ Shell
clean mode source ↗

bpo-28556: Various updates to typing by ilevkivskyi · Pull Request #28 · python/cpython

@ilevkivskyi

gvanrossum

@ilevkivskyi

@ilevkivskyi

@ilevkivskyi ilevkivskyi changed the title Various updates to typing bpo-28556: Various updates to typing

Feb 12, 2017

brettcannon

Mariatta referenced this pull request in Mariatta/cpython

Feb 13, 2017
 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

(cherry picked from commit b692dc8)

Mariatta referenced this pull request in Mariatta/cpython

Feb 13, 2017
 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

(cherry picked from commit b692dc8)

Mariatta added a commit that referenced this pull request

Feb 13, 2017
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 b692dc8)

Mariatta added a commit that referenced this pull request

Feb 14, 2017
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


(cherry picked from commit b692dc8)

jaraco pushed a commit that referenced this pull request

Dec 2, 2022
- Ensure travis job has kicked off before checking for `pending` status.

jaraco pushed a commit to jaraco/cpython that referenced this pull request

Feb 17, 2023

jaraco added a commit to jaraco/cpython that referenced this pull request

Feb 17, 2023

nanjekyejoannah added a commit to nanjekyejoannah/cpython that referenced this pull request

May 22, 2023
28: test clean final r=ltratt a=nanjekyejoannah

This PR does the final cleanups to address the following:
- Allow higher recursion limit for some tests
- skip some tests that require very high recursion limits, I used the allowed limit by convention for the first item above
- call reset to allow warning propagation in some tests

Note:

Existing py3k tests fail with a segfault with -3 flag if not run individually, deleting this context manager in over 300 files will take forever, lets only run `test_py3kwarn` and the rest should be tested locally if modified. 

It took me long to know the source of this segfault, I have solved any issues with new context manager I introduce.

If this PR is merged, we can modify the CI, I am going back to implementing the warnings now.

Co-authored-by: Joannah Nanjekye <jnanjeky@unb.ca>

This was referenced

Feb 11, 2025

@Qanux Qanux mentioned this pull request

Feb 11, 2026