Closed serhiy-storchaka closed 10 years ago
In case of error Argument Clinic sometimes reports negative line numbers.
I've seen the problem before, but was too busy to fix it. Give me a reproducable test case and I'll fix it.
New changeset 9c8d31d69044 by Larry Hastings in branch 'default': Issue bpo-20143: The line numbers reported in Argument Clinic errors are http://hg.python.org/cpython/rev/9c8d31d69044
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = 'https://github.com/larryhastings' closed_at =
created_at =
labels = ['type-bug']
title = 'Argument Clinic: negative line numbers'
updated_at =
user = 'https://github.com/serhiy-storchaka'
```
bugs.python.org fields:
```python
activity =
actor = 'larry'
assignee = 'larry'
closed = True
closed_date =
closer = 'larry'
components = []
creation =
creator = 'serhiy.storchaka'
dependencies = []
files = []
hgrepos = []
issue_num = 20143
keywords = []
message_count = 4.0
messages = ['207434', '207468', '207469', '207470']
nosy_count = 3.0
nosy_names = ['larry', 'python-dev', 'serhiy.storchaka']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue20143'
versions = ['Python 3.4']
```