FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-43933: Show frame.f_lineno as None, rather than -1, if there is no line number. by markshannon · Pull Request #25717 · python/cpython · GitHub

Repository navigation

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

Merged
markshannon merged 3 commits into
python:masterfrom
markshannon:present-none-if-missing-lineno
Apr 29, 2021
Merged

markshannon merged 3 commits into
python:masterfrom
markshannon:present-none-if-missing-lineno

Conversation

markshannon commented Apr 29, 2021 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

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 force-pushed the present-none-if-missing-lineno branch from 046b8ae to 9bd0186 Compare April 29, 2021 13:07

encukou commented Apr 29, 2021

Copy link
Copy Markdown
Member

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 reopened this Apr 29, 2021
markshannon merged commit 088a15c into python:master Apr 29, 2021
markshannon deleted the present-none-if-missing-lineno branch May 4, 2021 09:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL