Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167.

Backported from r54291.
This commit is contained in:
Collin Winter 2007-03-12 16:49:23 +00:00
parent 1817f096f4
commit e19d7a3c0a
7 changed files with 64 additions and 2 deletions

View file

@ -21,6 +21,7 @@ typedef struct _is {
PyObject *modules;
PyObject *sysdict;
PyObject *builtins;
PyObject *modules_reloading;
PyObject *codec_search_path;
PyObject *codec_search_cache;