[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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)
https://github.com/python/cpython/commit/1bebd8a21948652a5f941c550dec06ea84d1d979


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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)
https://github.com/python/cpython/commit/943861f09ab6bffcd1d97efcd0dd6c87c7f26800


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-05-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +1540

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-05-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +1539

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-04-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +1423

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--
components: Tests
messages: 292407
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Add tests for invalid use of PyArg_ParseTupleAndKeywords
type: enhancement
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com