Antoine Pitrou added the comment:

This will obviously break some existing code which passes a function returning 
true to Timer.  I concur with Raymond: I don't think this is a good idea.  
Also, the Timer class itself is a rather simplistic answer to the problem of 
scheduling callbacks in the future (it uses a dedicated thread per callback, 
which is extremely wasteful).  You'll find better solutions in more modern 
toolkits, such as asyncio; or you can easily write your own logic yourself.

----------
nosy: +tim.peters

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29569>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to