GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — gh-148083: Prevent constant folding when lhs is container types by corona10 · Pull Request #148090 · python/cpython Conversation
|
| } | ||
|
|
||
| bool | ||
| _Py_uop_sym_is_container(JitOptRef sym) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It's better to make this an allowlist, so we should say sym_is_not_container and check for the usual int float str etc
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Otherwise custom containers might be let through
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.