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-34533: Apply PEP384 to _csv module by eduardo-elizondo · Pull Request #8977 · python/cpython Conversation
|
|
You should ensure the build actually succeeds and the tests pass before you submit a PR (see also the developer's guide). Be aware that I'm preparing to submit a PR applying this refactoring to the _ssl module (based on the old patch at https://bugs.python.org/issue15670). Also, the issue that you created on the tracker happens to be a duplicate of https://bugs.python.org/issue14935. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@ZackerySpytz Sorry about that, contbuild is passing now! There was an incorrect assumption on one of the csv modules test. Given that Dialect class is a HeapType now, it should be able to be pickled when proto == 0 or 1. Also, good point. I didn't see that previous issue. Given that the other one has been there for 6+ years, we can probably just take this one :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| static struct PyModuleDef _csvmodule; | ||
| static struct PyModuleDef _csvmodule_def; | ||
| static PyObject *_csvmodule; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Do we need this at file scope? Given that this is replacing PyObject *module at line 1618
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.
_csvmodule_def is required in _csvstate_global. But you are right, we don't need _csvmodule at file scope. Will fix.
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.