<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pytime.c, branch v3.5.0a2</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.</title>
<updated>2015-03-02T16:01:10+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2015-03-02T16:01:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3e96f324dcdbeb78fcd8fa4ffe2cd0c67f3828b2'/>
<id>3e96f324dcdbeb78fcd8fa4ffe2cd0c67f3828b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22043: Fix pymonotonic(), use tv_usec=-1 as a marker to skip</title>
<updated>2014-09-03T07:43:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-09-03T07:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5789cfbb5650b6a4dc92cb466831dabad9f3b42d'/>
<id>5789cfbb5650b6a4dc92cb466831dabad9f3b42d</id>
<content type='text'>
the monotonic test
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the monotonic test
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22043: time.monotonic() is now always available</title>
<updated>2014-09-02T21:18:25+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-09-02T21:18:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ae58649721ec898ea4a101b0861e16fff3511cfa'/>
<id>ae58649721ec898ea4a101b0861e16fff3511cfa</id>
<content type='text'>
threading.Lock.acquire(), threading.RLock.acquire() and socket operations now
use a monotonic clock, instead of the system clock, when a timeout is used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
threading.Lock.acquire(), threading.RLock.acquire() and socket operations now
use a monotonic clock, instead of the system clock, when a timeout is used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22043: Fix _PyTime_gettimeofday() if HAVE_GETTIMEOFDAY</title>
<updated>2014-09-02T21:01:40+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-09-02T21:01:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9bb758cee7f1694807ebe600b6230fb8e565d3ea'/>
<id>9bb758cee7f1694807ebe600b6230fb8e565d3ea</id>
<content type='text'>
Ensure also that the tv_usec field is consistent: in range [0; 999999].
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure also that the tv_usec field is consistent: in range [0; 999999].
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22043: _PyTime_Init() now checks if the system clock works.</title>
<updated>2014-08-29T14:31:59+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-08-29T14:31:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0011124dc235fb9af1a80acf3df7edd8816c0a9d'/>
<id>0011124dc235fb9af1a80acf3df7edd8816c0a9d</id>
<content type='text'>
Other changes:

* The whole _PyTime API is private (not defined if Py_LIMITED_API is set)
* _PyTime_gettimeofday_info() also returns -1 on error
* Simplify PyTime_gettimeofday(): only use clock_gettime(CLOCK_REALTIME) or
  gettimeofday() on UNIX. Don't fallback to ftime() or time() anymore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Other changes:

* The whole _PyTime API is private (not defined if Py_LIMITED_API is set)
* _PyTime_gettimeofday_info() also returns -1 on error
* Simplify PyTime_gettimeofday(): only use clock_gettime(CLOCK_REALTIME) or
  gettimeofday() on UNIX. Don't fallback to ftime() or time() anymore.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22287: On UNIX, _PyTime_gettimeofday() now uses</title>
<updated>2014-08-29T13:41:08+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-08-29T13:41:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7efb83393cbe08924682c6852e94d3c4a4033c34'/>
<id>7efb83393cbe08924682c6852e94d3c4a4033c34</id>
<content type='text'>
clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now
depends on the librt library on Solaris and on Linux (only with glibc older
than 2.17).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now
depends on the librt library on Solaris and on Linux (only with glibc older
than 2.17).
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #20320: select.select() and select.kqueue.control() now round the timeout</title>
<updated>2014-02-16T23:02:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-02-16T23:02:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3c1b379ebd701cbd7686d0f0be95b88c5b3da8fe'/>
<id>3c1b379ebd701cbd7686d0f0be95b88c5b3da8fe</id>
<content type='text'>
aways from zero, instead of rounding towards zero.

It should make test_asyncio more reliable, especially test_timeout_rounding() test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
aways from zero, instead of rounding towards zero.

It should make test_asyncio more reliable, especially test_timeout_rounding() test.
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result</title>
<updated>2012-06-12T20:46:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-06-12T20:46:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2b89fdf7eb17b5ca3928aa3c2f6552e79386c677'/>
<id>2b89fdf7eb17b5ca3928aa3c2f6552e79386c677</id>
<content type='text'>
Fix also its value on Windows and Linux according to its documentation:
"adjustable" indicates if the clock *can be* adjusted, not if it is or was
adjusted.

In most cases, it is not possible to indicate if a clock is or was adjusted.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix also its value on Windows and Linux according to its documentation:
"adjustable" indicates if the clock *can be* adjusted, not if it is or was
adjusted.

In most cases, it is not possible to indicate if a clock is or was adjusted.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14127: Add ns= parameter to utime, futimes, and lutimes.</title>
<updated>2012-05-03T07:30:07+00:00</updated>
<author>
<name>Larry Hastings</name>
<email>larry@hastings.org</email>
</author>
<published>2012-05-03T07:30:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=76ad59b7e826691e0eb19f04cb647e07cdbde76a'/>
<id>76ad59b7e826691e0eb19f04cb647e07cdbde76a</id>
<content type='text'>
Removed futimens as it is now redundant.
Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat
and ns= parameter to utime--it once again preserves exact metadata on Linux!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed futimens as it is now redundant.
Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat
and ns= parameter to utime--it once again preserves exact metadata on Linux!
</pre>
</div>
</content>
</entry>
<entry>
<title>strip is_ prefixes on clock_info fields</title>
<updated>2012-05-01T13:38:34+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2012-05-01T13:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=49a69e4d48d68a36325ba9098e1962e8c2195339'/>
<id>49a69e4d48d68a36325ba9098e1962e8c2195339</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
