This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: PyErr_Format format mismatch in _testcapimodule.c
Type: crash Stage: resolved
Components: Extension Modules, Tests Versions: Python 3.3, Python 3.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: jcea, python-dev, serhiy.storchaka
Priority: normal Keywords: 3.3regression, patch

Created on 2012-10-04 07:11 by serhiy.storchaka, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
testcapi_error_format_mismatch.patch serhiy.storchaka, 2012-10-04 07:11 review
Messages (3)
msg171923 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-10-04 07:11
PyErr_Format in Modules/_testcapimodule.c uses illegal format specifier (%s) for Py_ssize_t argument. It causes crash:

import _testcapi
_testcapi.parse_tuple_and_keywords( (), {}, b'', [42])
msg171949 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-10-04 14:07
New changeset 0fc259ac8733 by Jesus Cea in branch '3.3':
Closes #16126: PyErr_Format format mismatch in _testcapimodule.c

New changeset 366c19bb5ca2 by Jesus Cea in branch 'default':
MERGE: Closes #16126: PyErr_Format format mismatch in _testcapimodule.c
msg171950 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2012-10-04 14:07
Date User Action Args
2022-04-11 14:57:36adminsetgithub: 60330
2012-10-04 14:07:39jceasetnosy: + jcea
messages: + msg171950
2012-10-04 14:07:19python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg171949

resolution: fixed
stage: resolved
2012-10-04 07:11:10serhiy.storchakacreate