Issue 20235: Argument Clinic: recover a bit more gracefully from exceptions - Python tracker

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.

classification
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: larry Nosy List: georg.brandl, larry, python-dev, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2014-01-13 07:02 by georg.brandl, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
clinic_exception_reporting.patch georg.brandl, 2014-01-13 07:02 review
Messages (4)
msg208008 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2014-01-13 07:02
I had specified c_default=-1 (note missing quotes) somewhere, and it raises an exception during the clinic --make run; there was no indication which file/line this was on.

Suggested patch attached.
msg208196 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-01-15 20:54
LGTM. This patch helps me (issue20273). Thank you.
msg208197 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2014-01-15 21:18
LGTM, please commit.
msg208241 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-01-16 05:53
New changeset acd31653e3b4 by Georg Brandl in branch 'default':
Closes #20235: Report file and line on unexpected exceptions in Argument Clinic.
http://hg.python.org/cpython/rev/acd31653e3b4