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

bpo-46841: Don't scan backwards in bytecode. by markshannon · Pull Request #31901 · python/cpython · GitHub

Repository navigation

bpo-46841: Don't scan backwards in bytecode. - #31901

Merged
brandtbucher merged 2 commits into
python:mainfrom
faster-cpython:no-backward-scanning
Mar 16, 2022
Merged

brandtbucher merged 2 commits into
python:mainfrom
faster-cpython:no-backward-scanning

Conversation

markshannon commented Mar 15, 2022 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Avoid scanning backwards when working out whether to trace a line, or whether we are in a yield from.

This should help with #31888.

https://bugs.python.org/issue46841

markshannon requested a review from 1st1 as a code owner March 15, 2022 12:27
markshannon changed the title bpo-46841: Don't scan backwards in bytecode when looking for execution context. bpo-46841: Don't scan backwards in bytecode. Mar 15, 2022
brandtbucher mentioned this pull request Mar 15, 2022
21 of 26 tasks

brandtbucher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks!

I'll take care of the merge conflict so I can use this over in #31888.

brandtbucher merged commit 49e1e1e into python:main Mar 16, 2022
markshannon deleted the no-backward-scanning branch September 26, 2023 12:54
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL