8000 [backport to 3.5] bpo-27122: Fix comment to point to correct issue number (#47) by berkerpeksag · Pull Request #50 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[backport to 3.5] bpo-27122: Fix comment to point to correct issue number (#47) #50

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 1 commit into from
Feb 12, 2017
Merged
Changes from all commits
Commits
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
bpo-27122: Fix comment to point to correct issue number (#47)
It took me quite a bit to figure out what this was referring to,
since the given issue number is wrong, and the original commit
message I found through git blame lists a different, also wrong
issue number... see https://bugs.python.org/issue27122#msg279449

(cherry picked from commit af88e7e)
  • Loading branch information
njsmith authored and berkerpeksag committed Feb 12, 2017
commit df948fd8300bcd2ddcfd18ddcb0f3d3e0e3b9498
2 changes: 1 addition & 1 deletion Lib/contextlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __exit__(self, type, value, traceback):
# raised inside the "with" statement from being suppressed.
return exc is not value
except RuntimeError as exc:
# Don't re-raise the passed in exception. (issue27112)
# Don't re-raise the passed in exception. (issue27122)
if exc is value:
return False
# Likewise, avoid suppressing if a StopIteration exception
Expand Down
0