Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-28556: Various updates to typing #28

Merged
merged 3 commits into from Feb 13, 2017

Conversation

ilevkivskyi
Copy link
Member

@ilevkivskyi ilevkivskyi commented Feb 11, 2017

This PR contains 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

This should be backported to 3.6 and 3.5 branches.

@gvanrossum
Copy link
Member

gvanrossum commented Feb 12, 2017

Oh, this should probably also include a Misc/NEWS update.

@ilevkivskyi
Copy link
Member Author

ilevkivskyi commented Feb 12, 2017

I added a short entry (note that there is no issue for this, so that I referenced this PR #28)

@gvanrossum
Copy link
Member

gvanrossum commented Feb 12, 2017

@ilevkivskyi
Copy link
Member Author

ilevkivskyi commented Feb 12, 2017

OK, I added the reference to the omnibus issue.

@codecov
Copy link

codecov bot commented Feb 12, 2017

Codecov Report

Merging #28 into master will increase coverage by 0.01%.
The diff coverage is 94.64%.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   82.37%   82.38%   +0.01%     
==========================================
  Files        1427     1428       +1     
  Lines      350948   351138     +190     
==========================================
+ Hits       289088   289285     +197     
+ Misses      61860    61853       -7

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7ffb99...400be95. Read the comment docs.

@ilevkivskyi ilevkivskyi changed the title Various updates to typing bpo-28556: Various updates to typing Feb 12, 2017
@gvanrossum
Copy link
Member

gvanrossum commented Feb 13, 2017

I'm hoping some core dev will take kindly to this and merge it.

@brettcannon
Copy link
Member

brettcannon commented Feb 13, 2017

LGTM, but I don't have the time to do the merge + cherry-picks on this.

@Mariatta Mariatta merged commit b692dc8 into python:master Feb 13, 2017
@Mariatta
Copy link
Sponsor Member

Mariatta commented Feb 13, 2017

Will cherry-pick shortly

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
Copy link
Sponsor Member

Mariatta commented Feb 13, 2017

Cherry-picked in:
#78
#77

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)
@ilevkivskyi ilevkivskyi deleted the update-typing branch Feb 13, 2017
@ilevkivskyi
Copy link
Member Author

ilevkivskyi commented Feb 13, 2017

@Mariatta Thank you very much for taking care of this!

@gvanrossum
Copy link
Member

gvanrossum commented Feb 13, 2017

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants