[Python-bugs-list] [ python-Bugs-742342 ] Python crashes if recursively reloading modules
SourceForge.net
noreply@sourceforge.net
Fri, 23 May 2003 07:03:36 -0700
Bugs item #742342, was opened at 2003-05-23 14:03
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=742342&group_id=5470
Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Christian Eder (chris_ce)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python crashes if recursively reloading modules
Initial Comment:
If one tries to recursively reload modules, python crashes with a
segfault. e.g. if the file "foo.py" looks something like:
import
foo
reload (foo)
....
the python interpreter crashes
when reading this file.
I have been able to reproduce the
problem both with
python2.2 and python2.3 under
linux.
Although recursive reloads are faulty code, this
should lead to an exception but not to a segfault of the
interpreter.
In our case, this bug allows a faulty user script to
crash our program.
Sorry if this is already a known bug, but I
searched in Sorceforge (and also in Google) and did not find
something similar.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=742342&group_id=5470