◐ Shell
reader mode source ↗
Skip to content

[2.7] bpo-28261: Prevent raising SystemError where PyArg_ParseTuple is used to parse non-args#3213

Merged
serhiy-storchaka merged 1 commit into
python:2.7from
orenmn:backport-bpo28261-2.7
Aug 26, 2017
Merged

[2.7] bpo-28261: Prevent raising SystemError where PyArg_ParseTuple is used to parse non-args#3213
serhiy-storchaka merged 1 commit into
python:2.7from
orenmn:backport-bpo28261-2.7

Conversation

@orenmn

@orenmn orenmn commented Aug 26, 2017

Copy link
Copy Markdown
Contributor

this is a partial backport of #3119.
(the 3 bugs that cause a SystemError to be raised and are fixed in #3198 don't exist on 2.7. This is because on 2.7, the code of these bugs uses PyArg_Parse (which doesn't assume it received a tuple) instead of PyArg_ParseTuple.)

https://bugs.python.org/issue28261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants