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 — bpo-43693: Group the code in codeobject.c logically. by ericsnowcurrently · Pull Request #26216 · python/cpython Conversation
|
|
Can you confirm that this is a pure refactoring that doesn't change any APIs or semantics? (That's what it sounds like, but there's a lot of code in the diff...) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yeah, it is almost exclusively only moving code around in the file. The only 2 exceptions are the addition of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Looks like you broke the argument clinic? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This is almost certain to cause merge conflicts with work on PEP 657. Given that the line number table is likely to grow and change with PEP 657, how about moving that code to it's own file? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I think having it in the same file is fine, as it will cause merge conflicts for us in any case. There is some benefit of having fewer compilation units. In the other hand maybe it will result in a better organisation of the code so if you think it makes sense I would be fine too :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| item = PyTuple_GET_ITEM(tup, i); | ||
| if (PyUnicode_CheckExact(item)) { | ||
| Py_INCREF(item); | ||
| static PyTypeObject LineIterator = { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Now that we are here, we could transform these initializers to C99 :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Let's not sit on this longer. LGTM, if either Mark or Pablo approves then just land it. |
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.
Looks good for me, but @markshannon should review the function renames
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.