Message 255727 - Python tracker

Message255727

Author yselivanov
Recipients yselivanov
Date 2015-12-02.17:01:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449075704.09.0.711720305555.issue25781@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2015-12-02 17:01:44yselivanovsetrecipients: + yselivanov
2015-12-02 17:01:44yselivanovsetmessageid: <1449075704.09.0.711720305555.issue25781@psf.upfronthosting.co.za>
2015-12-02 17:01:44yselivanovlinkissue25781 messages
2015-12-02 17:01:44yselivanovcreate