Message291163
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. |
|
Date |
User |
Action |
Args |
2017-04-05 06:54:17 | pitrou | set | recipients:
+ pitrou, tim.peters, rhettinger, slytomcat |
2017-04-05 06:54:17 | pitrou | set | messageid: <1491375257.11.0.0262143264606.issue29569@psf.upfronthosting.co.za> |
2017-04-05 06:54:17 | pitrou | link | issue29569 messages |
2017-04-05 06:54:16 | pitrou | create | |
|