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
Title: Argument Clinic: recover a bit more gracefully from exceptions
Type: enhancement Stage: resolved
Components: Demos and Tools Versions: Python 3.4
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
History
Date User Action Args
2022-04-11 14:57:56adminsetgithub: 64434
2014-01-16 05:53:43python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg208241

resolution: fixed
stage: commit review -> resolved
2014-01-15 21:18:36larrysetmessages: + msg208197
2014-01-15 20:54:02serhiy.storchakasetversions: + Python 3.4
messages: + msg208196

components: + Demos and Tools
type: enhancement
stage: commit review
2014-01-15 20:49:50serhiy.storchakasetnosy: + serhiy.storchaka
2014-01-13 07:02:27georg.brandlcreate