Skip to content

Conversation

@hauntsaninja
Copy link
Contributor

@hauntsaninja hauntsaninja commented May 4, 2020

The grammar for func_type_input rejected things like (*t1) ->t2. This fixes that.

https://bugs.python.org/issue40493

Automerge-Triggered-By: @gvanrossum

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! How did you find this out so quickly?

Co-authored-by: Guido van Rossum <guido@python.org>
@hauntsaninja
Copy link
Contributor Author

I've been trying to fix various mypy test failures on 3.9!

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Looking forward to your fixes. (Please CC me on any mypy PRs you submit.)

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoa, you need to regenerate parse.c (make regen-pegen).

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@hauntsaninja
Copy link
Contributor Author

hauntsaninja commented May 4, 2020

Right. Thanks for catching that! Github made it look deceptively easy there...

I have made the requested changes; please review again

@bedevere-bot
Copy link

Thanks for making the requested changes!

@gvanrossum: please review the changes made to this pull request.

@bedevere-bot bedevere-bot requested a review from gvanrossum May 4, 2020 04:48
@hauntsaninja
Copy link
Contributor Author

hauntsaninja commented May 4, 2020

And happy to cc you on mypy changes! :-) So far it's only the one (already merged): python/mypy#8743 (although I independently made the subscript AST fix of yours)

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup!

@miss-islington
Copy link
Contributor

@hauntsaninja: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 603d354 into python:master May 4, 2020
@hauntsaninja hauntsaninja deleted the fixtype branch May 4, 2020 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants