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-32894: Support unparsing of infinity numbers in ast_unparser.c #17426

Merged
merged 12 commits into from Apr 13, 2020

Conversation

isidentical
Copy link
Sponsor Member

@isidentical isidentical commented Dec 1, 2019

serhiy-storchaka
serhiy-storchaka previously requested changes Dec 1, 2019
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
@bedevere-bot
Copy link

bedevere-bot commented Dec 1, 2019

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.

@isidentical
Copy link
Sponsor Member Author

isidentical commented Dec 1, 2019

I have made the requested changes; please review again

@bedevere-bot
Copy link

bedevere-bot commented Dec 1, 2019

Thanks for making the requested changes!

@serhiy-storchaka: please review the changes made to this pull request.

Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Lib/test/test_future.py Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
@bedevere-bot
Copy link

bedevere-bot commented Dec 2, 2019

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.

@isidentical
Copy link
Sponsor Member Author

isidentical commented Dec 3, 2019

I have made the requested changes; please review again

@bedevere-bot
Copy link

bedevere-bot commented Dec 3, 2019

Thanks for making the requested changes!

@pablogsal, @serhiy-storchaka: please review the changes made to this pull request.

@bedevere-bot bedevere-bot requested a review from pablogsal Dec 3, 2019
@isidentical isidentical force-pushed the bpo-32894 branch 2 times, most recently from 3c9c439 to 3ed11d3 Compare Dec 3, 2019
Lib/test/test_future.py Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Show resolved Hide resolved
Copy link
Member

@vstinner vstinner left a comment

The PR is almost good. Just two last minor remarks. I'm not sure why interning was used in the first place. Does someone recall the rationale for interning strings?

Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
Python/ast_unparse.c Outdated Show resolved Hide resolved
@isidentical
Copy link
Sponsor Member Author

isidentical commented Apr 12, 2020

@vstinner @serhiy-storchaka can I get a re-review (or possibly a merge) for this. This is blocking me on another bugfix related C unparser.

Copy link
Member

@vstinner vstinner left a comment

LGTM.

@vstinner vstinner dismissed serhiy-storchaka’s stale review Apr 13, 2020

@isidentical addressed Serhiy's review.

@vstinner vstinner merged commit 258f517 into python:master Apr 13, 2020
@vstinner
Copy link
Member

vstinner commented Apr 13, 2020

Merged, thanks @isidentical!

@isidentical
Copy link
Sponsor Member Author

isidentical commented Apr 13, 2020

Thank you for merge @vstinner.

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

6 participants