homepage

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 vstinner
Recipients neologix, rhettinger, vstinner
Date 2012年04月29日.01:18:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335662334.09.0.251528208694.issue14690@psf.upfronthosting.co.za>
In-reply-to
Content
The PEP 418 added a new time.monotonic() function. The sched, trace and subprocess modules should use it, if available, to avoid issues when the system time is changed.
Attached patch uses the time.monotonic() function when available.
See also the issue #14222 (same issue for queue and threading) and the PEP 418.
--
socket and ssl modules should also use a monotonic clock if available, but these modules are implemented in C. The C implementation of time.monotonic() requires the librt library and is written in the timemodule.c. It requires more work to reuse it in the socket and ssl modules.
History
Date User Action Args
2012年04月29日 01:18:54vstinnersetrecipients: + vstinner, rhettinger, neologix
2012年04月29日 01:18:54vstinnersetmessageid: <1335662334.09.0.251528208694.issue14690@psf.upfronthosting.co.za>
2012年04月29日 01:18:53vstinnerlinkissue14690 messages
2012年04月29日 01:18:53vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /