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 — [3.11] GH-93516: Speedup line number checks when tracing. (GH-93763) by markshannon · Pull Request #94023 · python/cpython Conversation
Member
Backport of #93763
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
The ABI breakage is not really a break, as the new field is inserted (almost) at the end, after any other fields used in C extensions. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| self.write(f".co_name = {co_name},") | ||
| self.write(f".co_qualname = {co_qualname},") | ||
| self.write(f".co_linetable = {co_linetable},") | ||
| self.write("._co_linearray = NULL,") |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, unrelated question, but does this mean I need to add the field from my _co_code change here too?
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.
Technically, no. C will initialize any fields not explicitly mentioned to zero.
I think it is good practice to be explicit, though.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I will regenerate the ABI in this PR |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@markshannon I cannot push to the remote repo, could you please ensure the "allow pushes from maintainers checkbox is activated on the right column"? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
There is no "allow pushes from maintainers" checkbox. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing in favour of #94127 to allow edits. |
Sorry, something went wrong.
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.