Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: de50cdfcf9e3ba415fa09a3c9203d4d95a14e5b3 authored by Benjamin Peterson on 31 May 2014, 18:22:47 UTC
fix news header
Tip revision: de50cdf
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