id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,branch,branch_author,launchpad_bug
5962,"Clock.callLater(0, f) can lead to infinite loop",exarkun,,"Consider:

{{{
#!python
from twisted.internet.task import Clock

def f():
    c.callLater(0, f)

c = Clock()
f()
c.advance(0)
print 'Done'
}}}

The expected behavior is that `f` runs once and then ''Done'' is printed and the program exits.  Instead, `Clock.advance` spends forever running and re-running `f`.  This is similar to a bug that the real `IReactorTime` implementation used to have but that we fixed.",defect,new,normal,,core,,easy review gsoc,,,,
