This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author graingert
Recipients graingert, ncoghlan, yselivanov
Date 2021-07-05.09:45:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625478340.34.0.529262409181.issue44566@roundup.psfhosted.org>
In-reply-to
Content
https://bugs.python.org/issue1462485


import contextlib

@contextlib.contextmanager
def foo():
    yield

class StartIrritation(StopIteration):
    pass


with foo():
    raise StartIrritation
History
Date User Action Args
2021-07-05 09:45:40graingertsetrecipients: + graingert, ncoghlan, yselivanov
2021-07-05 09:45:40graingertsetmessageid: <1625478340.34.0.529262409181.issue44566@roundup.psfhosted.org>
2021-07-05 09:45:40graingertlinkissue44566 messages
2021-07-05 09:45:40graingertcreate