Message259877
For now programmical errors with the use of PyArg_ParseTuple() cause raising SystemError. But some programmical errors with the use of PyArg_ParseTupleAndKeywords() cause raising RuntimeError. I think that SystemError is the correct exception type.
Proposed patch replaces RuntimeError with SystemError in PyArg_ParseTupleAndKeywords(). This change shouldn't break any code (except CPython tests for PyArg_ParseTupleAndKeywords()), because this exception never raised if PyArg_Parse*() functions are used correctly. |
|
Date |
User |
Action |
Args |
2016-02-08 19:39:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2016-02-08 19:39:33 | serhiy.storchaka | set | messageid: <1454960373.85.0.989575322137.issue26312@psf.upfronthosting.co.za> |
2016-02-08 19:39:33 | serhiy.storchaka | link | issue26312 messages |
2016-02-08 19:39:33 | serhiy.storchaka | create | |
|