[issue22898] segfault during shutdown attempting to log ResourceWarning

Xavier de Gaye report at bugs.python.org
Wed Nov 26 12:33:08 CET 2014


Xavier de Gaye added the comment:

> +    /* during Python finalization, warnings may be emited after interp->sysdict
> +       is cleared: see issue #22898 */
>
> I would prefer to see this comment in the else block.

Indeed.
New updated patch attached.

----------
Added file: http://bugs.python.org/file37286/warn_3.patch

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


More information about the Python-bugs-list mailing list