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 tasslehoff
Recipients tasslehoff
Date 2012-03-07.19:38:39
SpamBayes Score 7.506189e-10
Marked as misclassified No
Message-id <1331149120.51.0.79082225225.issue14222@psf.upfronthosting.co.za>
In-reply-to
Content
Queue.get([block[, timeout]]) uses time.time() for calculations of the timeout. If someone changes the system time this breaks. If a timeout of 1 second is set and someone (on a unix system) uses date to set the time 1 hour back, Queue.get will use 1 hour and 1 second to time out.

I'm guessing the fix is just to use another library function to measure time, but I don't know if one exists that works on all platforms.
History
Date User Action Args
2012-03-07 19:38:40tasslehoffsetrecipients: + tasslehoff
2012-03-07 19:38:40tasslehoffsetmessageid: <1331149120.51.0.79082225225.issue14222@psf.upfronthosting.co.za>
2012-03-07 19:38:39tasslehofflinkissue14222 messages
2012-03-07 19:38:39tasslehoffcreate