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

bpo-43933: Show frame.f_lineno as None, rather than -1, if there is no line number. #25717

Merged
merged 3 commits into from
Apr 29, 2021

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Apr 29, 2021

As specified by PEP 626.
This should not be observable unless frame.f_trace_opcodes is set, or some other oddity.

https://bugs.python.org/issue43933

@markshannon markshannon force-pushed the present-none-if-missing-lineno branch from 046b8ae to 9bd0186 Compare April 29, 2021 13:07
@encukou
Copy link
Member

encukou commented Apr 29, 2021

The "Check if generated files are up to date" test is failing because of unfortunate timing when merging other PRs (GH-25315, GH-25687).
It's OK to ignore it. Sorry for the inconvenience.

@markshannon markshannon reopened this Apr 29, 2021
@markshannon markshannon merged commit 088a15c into python:master Apr 29, 2021
@markshannon markshannon deleted the present-none-if-missing-lineno branch May 4, 2021 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants