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

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: This is no longer a problem: import imp import collections import collections.abc module 'collections.abc' from '/Users/bcannon/Developer/repo/cpython/py3k/Lib/collections/abc.py' -- assignee: - brett.cannon resolution: - out of date status: open -

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

2012-04-16 Thread Jim Jewett
Jim Jewett jimjjew...@gmail.com added the comment: (Note that the two patches are not cumulative; both would need to be applied.) -- nosy: +Jim.Jewett stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14580

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

2012-04-14 Thread Paul Ollis
New submission from Paul Ollis pyt...@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:

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

2012-04-14 Thread Paul Ollis
Paul Ollis pyt...@ollis.me.uk added the comment: Patch adding a test to reproduce the issue. -- keywords: +patch Added file: http://bugs.python.org/file25215/patch01-tests.diff ___ Python tracker rep...@bugs.python.org

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

2012-04-14 Thread Paul Ollis
Paul Ollis pyt...@ollis.me.uk added the comment: Patch that fixes the issue. -- Added file: http://bugs.python.org/file25216/patch01-code.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14580

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

2012-04-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brett.cannon priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14580 ___

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

2012-04-14 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14580 ___ ___ Python-bugs-list