classification
Title: Argument Clinic: negative line numbers
Type: behavior Stage: resolved
Components: Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: larry Nosy List: larry, python-dev, serhiy.storchaka
Priority: normal Keywords:

Created on 2014-01-06 14:19 by serhiy.storchaka, last changed 2014-01-06 19:12 by larry. This issue is now closed.

Messages (4)
msg207434 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-01-06 14:19
In case of error Argument Clinic sometimes reports negative line numbers.
msg207468 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2014-01-06 18:52
I've seen the problem before, but was too busy to fix it.  Give me a reproducable test case and I'll fix it.
msg207469 - (view) Author: Roundup Robot (python-dev) Date: 2014-01-06 19:10
New changeset 9c8d31d69044 by Larry Hastings in branch 'default':
Issue #20143: The line numbers reported in Argument Clinic errors are
http://hg.python.org/cpython/rev/9c8d31d69044
msg207470 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2014-01-06 19:12
Oh, golly, this was one of those "what was I thinking?" sorts of bugs.  The problem (and the fix) was obvious once I stared at it long enough.
History
Date User Action Args
2014-01-06 19:12:10larrysetstatus: open -> closed
resolution: fixed
messages: + msg207470

stage: resolved
2014-01-06 19:10:56python-devsetnosy: + python-dev
messages: + msg207469
2014-01-06 18:52:16larrysetassignee: larry
messages: + msg207468
2014-01-06 14:19:53serhiy.storchakacreate