[New-bugs-announce] [issue14580] imp.reload can fail for sub-modules

Paul Ollis report at bugs.python.org
Sat Apr 14 20:55:43 CEST 2012


New submission from Paul Ollis <python at ollis.me.uk>:

Code like this::

    import collections.abc
    imp.reload(collections.abc)

Raises the following exception:

    SystemError: Negative size passed to PyUnicode_New

This occurs on the latest mercurial checkout (76302).

----------
components: Interpreter Core
messages: 158273
nosy: paul_ollis
priority: normal
severity: normal
status: open
title: imp.reload can fail for sub-modules
type: behavior
versions: Python 3.3

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


More information about the New-bugs-announce mailing list