D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
2
/
root
/
proc
/
2
/
cwd
/
opt
/
imh-python
/
lib
/
python2.7
/
test
/
Filename :
infinite_reload.py
back
Copy
# 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 imp import infinite_reload imp.reload(infinite_reload)