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 ronaldoussoren
Recipients r.david.murray, ronaldoussoren, sahilmn
Date 2018-05-22.06:00:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526968837.47.0.682650639539.issue33590@psf.upfronthosting.co.za>
In-reply-to
Content
I did look at the code :-)

The enter() method just calls enterabs() with an absolute time calculated from the current time (using the timefunc for the scheduler) and the passed relative time.  Two calls of enter() with the same relative time will therefore use different absolute times unless you're using custom time function with a lower resolution. 

Prorities are only used when who events are scheduled for the same absolute time, which is easy to arrange for using enterabs() but less so using enter() but still can happen when using calculated timeout values.

I don't agree about the example in the documentation, it is a clear demonstration about how to use the API in general and AFAIK is not intended to show how priorities work.
History
Date User Action Args
2018-05-22 06:00:37ronaldoussorensetrecipients: + ronaldoussoren, r.david.murray, sahilmn
2018-05-22 06:00:37ronaldoussorensetmessageid: <1526968837.47.0.682650639539.issue33590@psf.upfronthosting.co.za>
2018-05-22 06:00:37ronaldoussorenlinkissue33590 messages
2018-05-22 06:00:37ronaldoussorencreate