[issue20126] sched doesn't handle events added after scheduler starts

2014-01-05 Thread lo...@blossomhillranch.com
lo...@blossomhillranch.com added the comment: i saw that issue before i submitted this one, but it says it was fixed a year ago. i assumed a patch from a year ago would be in 3.3.1. when i see an issue closed with a patch accepted, how do i determine which python version will contain

[issue20126] sched doesn't handle events added after scheduler starts

2014-01-05 Thread lo...@blossomhillranch.com
lo...@blossomhillranch.com added the comment: 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

[issue20126] sched doesn't handle events added after scheduler starts

2014-01-05 Thread lo...@blossomhillranch.com
lo...@blossomhillranch.com added the comment: ok, makes sense. can we put a note in the manual about this limitation? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20126

[issue20126] sched doesn't handle events added after scheduler starts

2014-01-04 Thread lo...@blossomhillranch.com
New submission from lo...@blossomhillranch.com: Events added after the scheduler is running, with a delay value before the next event, do not run at the correct time. import sched import time import threading def event( eventNum ): print( 'event', eventNum, time.time() ) s