We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

sys.setcheckinterval

setcheckinterval(interval)

Set the interpreter’s check interval. This integer value determines how often the interpreter checks for periodic things such as thread switches and signal handlers. The default is 100, meaning the check is performed every 100 Python virtual instructions. Setting it to a larger value may increase performance for programs using threads. Setting it to a value <= 0 checks every virtual instruction, maximizing responsiveness as well as overhead.