Skip to content

bpo-40334: Simplify type handling in the PEG c_generator - #19818

Merged
pablogsal merged 1 commit into
python:masterfrom
pablogsal:bpo-40334-types
May 1, 2020
Merged

bpo-40334: Simplify type handling in the PEG c_generator#19818
pablogsal merged 1 commit into
python:masterfrom
pablogsal:bpo-40334-types

Conversation

@pablogsal

@pablogsalpablogsal commented Apr 30, 2020

Copy link
Copy Markdown
Member

Follow up of #19775. With this PR almost all the type-deducing code in add_var can be eliminated :)

As a bonus, this PR eliminates some extra void* in the generated code :)

https://bugs.python.org/issue40334

@gvanrossumgvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Excellent insight!

@lysnikolaoulysnikolaou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Truly great improvements, this and #19775.

@gvanrossum

Copy link
Copy Markdown
Member

There's a conflict. Looks like you have to run make regen-pegen again.

@pablogsal
pablogsal merged commit b796b3f into python:masterMay 1, 2020
@pablogsal
pablogsal deleted the bpo-40334-types branch May 1, 2020 11:32
@pablogsal

Copy link
Copy Markdown
MemberAuthor

Thanks both for the review! 🎉

Sign up for freeto 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.

4 participants

@pablogsal@gvanrossum@lysnikolaou@bedevere-bot