Bugs item #1548687, was opened at 2006-08-29 09:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1548687&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Interpreter Core Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: Josiah Carlson (josiahcarlson) Assigned to: Nobody/Anonymous (nobody) Summary: C modules reloaded on certain failed imports Initial Comment: Running z.py in the attached archive should produce an attribute error on printing, as we have set sys.stdout to None. On 2.3.5 and 2.4.3, output is printed and any imported C modules in x/y.py are reloaded, builtin or 3rd party. On 2.5, we get a traceback on import: "SystemError: Parent module 'x' not loaded". Changing the name on the import from 'x.y' to 'y' works-around the error, and we get the expected AttributeError in 2.3, 2.4. 2.5 gives us the same SystemError. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1548687&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com