This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou, rhettinger, slytomcat, tim.peters
Date 2017-04-05.06:54:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491375257.11.0.0262143264606.issue29569@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-04-05 06:54:17pitrousetrecipients: + pitrou, tim.peters, rhettinger, slytomcat
2017-04-05 06:54:17pitrousetmessageid: <1491375257.11.0.0262143264606.issue29569@psf.upfronthosting.co.za>
2017-04-05 06:54:17pitroulinkissue29569 messages
2017-04-05 06:54:16pitroucreate