test for absence of infinite loop

Robin Becker robin at reportlab.com
Tue Jul 17 05:10:49 EDT 2018


A user reported an infinite loop in reportlab. I determined a possible cause and fix and would like to test for absence of the 
loop. Is there any way to check for presence/absence of an infinite loop in python? I imagine we could do something like call an 
external process and see if it takes too long, but that seems a bit flaky.
-- 
Robin Becker



More information about the Python-list mailing list