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

Will backport.
This commit is contained in:
Collin Winter 2007-03-12 16:11:39 +00:00
parent f567ca3e1a
commit 276887b16d
7 changed files with 62 additions and 2 deletions

View file

@ -0,0 +1,7 @@
# For testing http://python.org/sf/742342, which reports that Python
# segfaults (infinite recursion in C) in the presence of infinite
# reload()ing. This module is imported by test_import.py:test_infinite_reload
# to make sure this doesn't happen any more.
import infinite_reload
reload(infinite_reload)