Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: a1f6fab46486ec431c04fe1b0c5c68d6e26f759d authored by Benjamin Peterson on 23 March 2013, 15:17:29 UTC
version to 2.7.4rc1
Tip revision: a1f6fab
infinite_reload.py
# 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)
back to top