[New-bugs-announce] [issue1379] reloading imported modules sometimes fail with 'parent not in sys.modules' error
Paul Pogonyshev
report at bugs.python.org
Sat Nov 3 17:51:43 CET 2007
New submission from Paul Pogonyshev:
This is apparently because sys.modules contains Unicode (str) keys,
while 'parentname' is an old-style string. Attached patch seems to fix
it, but I have no idea if it is correct in principle
----------
components: Interpreter Core
files: reloading-fix.diff
messages: 57085
nosy: Paul Pogonyshev
severity: normal
status: open
title: reloading imported modules sometimes fail with 'parent not in sys.modules' error
versions: Python 3.0
Added file: http://bugs.python.org/file8683/reloading-fix.diff
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1379>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: reloading-fix.diff
Url: http://mail.python.org/pipermail/new-bugs-announce/attachments/20071103/6726e63a/attachment.txt
More information about the New-bugs-announce
mailing list