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 julian
Recipients julian, r.david.murray, serhiy.storchaka
Date 2014-01-05.23:05:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388963126.58.0.869906234767.issue20126@psf.upfronthosting.co.za>
In-reply-to
Content
i looks like a different issue. 16165 says you can't add events while the scheduler is running. in my case, i can add them, but they don't run at the correct time.

i'll guess at what the problem is... when you start the scheduler, the thread sleeps until the first scheduled event. when you add an event after the scheduler is running, the scheduler doesn't re-evaluate how long it should sleep. sched.enter(), sched.enterabs(), and sched.cancel() should probably send a signal to the scheduler thread to recalculate the time of the next event.
History
Date User Action Args
2014-01-05 23:05:26juliansetrecipients: + julian, r.david.murray, serhiy.storchaka
2014-01-05 23:05:26juliansetmessageid: <1388963126.58.0.869906234767.issue20126@psf.upfronthosting.co.za>
2014-01-05 23:05:26julianlinkissue20126 messages
2014-01-05 23:05:26juliancreate