8000 bpo-46409: Make generators in bytecode by markshannon · Pull Request #30633 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-46409: Make generators in bytecode #30633

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

Merged
merged 20 commits into from
Jan 20, 2022
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert change in test.
  • Loading branch information
markshannon committed Jan 19, 2022
commit 7392593156ca579e8c0929d651d2263c69c6be10
3 changes: 1 addition & 2 deletions Lib/test/test_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ def generator1(self):

def generator2(self):
try:
while True:
yield
yield
except KeyboardInterrupt:
return "PASSED"
else:
Expand Down
0