Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument Clinic: negative line numbers #64342

Closed
serhiy-storchaka opened this issue Jan 6, 2014 · 4 comments
Closed

Argument Clinic: negative line numbers #64342

serhiy-storchaka opened this issue Jan 6, 2014 · 4 comments
Assignees
Labels
type-bug An unexpected behavior, bug, or error

Comments

@serhiy-storchaka
Copy link
Member

BPO 20143
Nosy @larryhastings, @serhiy-storchaka

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:

assignee = 'https://github.com/larryhastings'
closed_at = <Date 2014-01-06.19:12:10.959>
created_at = <Date 2014-01-06.14:19:53.537>
labels = ['type-bug']
title = 'Argument Clinic: negative line numbers'
updated_at = <Date 2014-01-06.19:12:10.958>
user = 'https://github.com/serhiy-storchaka'

bugs.python.org fields:

activity = <Date 2014-01-06.19:12:10.958>
actor = 'larry'
assignee = 'larry'
closed = True
closed_date = <Date 2014-01-06.19:12:10.959>
closer = 'larry'
components = []
creation = <Date 2014-01-06.14:19:53.537>
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']

@serhiy-storchaka
Copy link
Member Author

In case of error Argument Clinic sometimes reports negative line numbers.

@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Jan 6, 2014
@larryhastings
Copy link
Contributor

I've seen the problem before, but was too busy to fix it. Give me a reproducable test case and I'll fix it.

@larryhastings larryhastings self-assigned this Jan 6, 2014
@python-dev
Copy link
Mannequin

python-dev mannequin commented Jan 6, 2014

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

@larryhastings
Copy link
Contributor

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.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants