[New-bugs-announce] [issue25781] infinite loop in reprlib

Yury Selivanov report at bugs.python.org
Wed Dec 2 12:01:44 EST 2015


New submission from Yury Selivanov:

The below code blocks Python eval loop and makes it unresponsive to signals (like ^C).

    import reprlib

    try:
        raise RuntimeError
    except RuntimeError as ex:
        ex.__context__ = ex
        reprlib.repr(ex)

----------
components: Library (Lib)
messages: 255727
nosy: yselivanov
priority: normal
severity: normal
status: open
title: infinite loop in reprlib
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25781>
_______________________________________


More information about the New-bugs-announce mailing list