From: Nathaniel J. Smith Date: Sun, 12 Feb 2017 11:37:24 +0000 (-0800) Subject: bpo-27122: Fix comment to point to correct issue number (#47) X-Git-Tag: v3.7.0a1~1360 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af88e7eda4101f36e904771d3cf59a5f740b3b00;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Lib/contextlib.py b/Lib/contextlib.py index 7d94a579c872..842196852594 100644 --- a/Lib/contextlib.py +++ b/Lib/contextlib.py @@ -105,7 +105,7 @@ class _GeneratorContextManager(ContextDecorator, AbstractContextManager): # 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