[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-05-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1bebd8a21948652a5f941c550dec06ea84d1d979 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30184: Add tests for invalid use of PyArg_ParseTupleAndKeywords. (GH-1316). (#1441)

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 943861f09ab6bffcd1d97efcd0dd6c87c7f26800 by Serhiy Storchaka in branch '3.5': [3.5] bpo-30184: Add tests for invalid use of PyArg_ParseTupleAndKeywords. (GH-1316). (#1442)

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-05-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1540 ___ Python tracker ___ ___

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-05-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1539 ___ Python tracker ___ ___

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5f161fd86dd5bb936a1a2a13391b13b7e59ec201 by Serhiy Storchaka in branch 'master': bpo-30184: Add tests for invalid use of PyArg_ParseTupleAndKeywords. (#1316) https://github.com/python/cpython/commit/5f161fd86dd5bb936a1a2a13391b13b7e59ec201

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-04-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1423 ___ Python tracker ___ ___

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-04-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch adds tests that check that PyArg_ParseTupleAndKeywords() correctly detects errors in the format string and keywords list and raises SystemError. It also allows the format argument in _testcapi.parse_tuple_and_keywords() be string.