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.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2016-02-08.19:39:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454960373.85.0.989575322137.issue26312@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-02-08 19:39:33serhiy.storchakasetrecipients: + serhiy.storchaka
2016-02-08 19:39:33serhiy.storchakasetmessageid: <1454960373.85.0.989575322137.issue26312@psf.upfronthosting.co.za>
2016-02-08 19:39:33serhiy.storchakalinkissue26312 messages
2016-02-08 19:39:33serhiy.storchakacreate