Files
gtav-src/tools_ng/bin/python/App/Lib/test/infinite_reload.py
T
2025-09-29 00:52:08 +02:00

9 lines
332 B
Python
Executable File

# 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)