/Lib/test/infinite_reload.py

http://unladen-swallow.googlecode.com/ · Python · 7 lines · 2 code · 1 blank · 4 comment · 0 complexity · 12d576059f164c83d436544790d317b7 MD5 · raw file

  1. # For testing http://python.org/sf/742342, which reports that Python
  2. # segfaults (infinite recursion in C) in the presence of infinite
  3. # reload()ing. This module is imported by test_import.py:test_infinite_reload
  4. # to make sure this doesn't happen any more.
  5. import infinite_reload
  6. reload(infinite_reload)