Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 07ffc78c9a0ae051046bf30c61735c465ebfe1c9 authored by Benjamin Peterson on 26 October 2013, 18:57:21 UTC
2.7.6rc1
Tip revision: 07ffc78
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