Author ethan.furman
Recipients barry, eli.bendersky, ethan.furman, vstinner
Date 2019-01-11.15:19:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547219975.91.0.457231464602.issue35717@roundup.psfhosted.org>
In-reply-to
Content
Looks like the following code:

        if module is None:
            try:
                module = sys._getframe(2).f_globals['__name__']
            except (AttributeError, ValueError) as exc:
                pass

needs to have `KeyError` added to the `except` line.
History
Date User Action Args
2019-01-11 15:19:38ethan.furmansetrecipients: + ethan.furman, barry, vstinner, eli.bendersky
2019-01-11 15:19:35ethan.furmansetmessageid: <1547219975.91.0.457231464602.issue35717@roundup.psfhosted.org>
2019-01-11 15:19:35ethan.furmanlinkissue35717 messages
2019-01-11 15:19:35ethan.furmancreate