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-40943: Fix skipitem() didn't raise SystemError by methane · Pull Request #25937 · python/cpython Conversation
|
| return NULL; | ||
| } | ||
| (void) va_arg(*p_va, int *); | ||
| PyErr_SetString(PyExc_SystemError, |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I would rewrite this code in the form:
if (!(flags & FLAG_SIZE_T)) { ... } (void) va_arg(*p_va, Py_ssize_t *);
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-25961 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
`convertitem()` raises `SystemError` when 'GH-' is used without `PY_SSIZE_T_CLEAN`. This commit makes `skipitem()` raise it too. (cherry picked from commit 4ebf4a6) Co-authored-by: Inada Naoki <[email protected]>
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.