bpo-27122: Fix comment to point to correct issue number (#48) · python/cpython@89b1824 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 89b1824

bpo-27122: Fix comment to point to correct issue number (#48)

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)

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@ def __exit__(self, type, value, traceback):
105 105 # raised inside the "with" statement from being suppressed.
106 106 return exc is not value
107 107 except RuntimeError as exc:
108 -# Don't re-raise the passed in exception. (issue27112)
108 +# Don't re-raise the passed in exception. (issue27122)
109 109 if exc is value:
110 110 return False
111 111 # Likewise, avoid suppressing if a StopIteration exception