Uh oh!
There was an error while loading. Please reload this page.
gh-108308: Replace PyDict_GetItem() with PyDict_GetItemRef() - #108309
Conversation
6a032b0 to
85e51b1Compare85e51b1 to
ce6ea31Comparevstinner
commented
Aug 22, 2023
serhiy-storchaka
left a comment
There was a problem hiding this comment.
I actually tried to make the compiler code clearer. But it requires so much work that I keep putting it off after another attempt.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Replace PyDict_GetItem() calls with PyDict_GetItemRef() to handle errors. pycore_init_builtins() now checks for _PyType_Lookup() failure.
ce6ea31 to
5c77056Comparevstinner
commented
Aug 22, 2023
@serhiy-storchaka: I addressed your review. Would you mind to review the updated PR? |
bedevere-bot
commented
Aug 23, 2023
There's a new commit after the PR has been approved. @serhiy-storchaka: please review the changes made to this pull request. |
vstinner
commented
Aug 23, 2023
Well, writing correct code requires to write more code. IMO it's worth it :-) |
vstinner
commented
Aug 23, 2023
Merged, thanks for the review Serhiy! |
bedevere-bot
commented
Aug 23, 2023
|
bedevere-bot
commented
Aug 23, 2023
|
vstinner
commented
Aug 23, 2023
I created #108373 to track this unrelated bug. |
Replace PyDict_GetItem() calls with PyDict_GetItemRef() to handle errors.