Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: baacaac06f93dd624c9d7b3bac0e13fbe34f2d8c authored by Benjamin Peterson on 16 February 2019, 19:02:20 UTC
Set version to 2.7.16rc1.
Tip revision: baacaac
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