<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pytime.c, branch 3.4</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 #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>
<entry>
<title>Issue #14428, #14397: Implement the PEP 418</title>
<updated>2012-04-29T00:41:27+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-04-29T00:41:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ec89539ccccd6103665a7a5c7234cf09f27c1c72'/>
<id>ec89539ccccd6103665a7a5c7234cf09f27c1c72</id>
<content type='text'>
 * Rename time.steady() to time.monotonic()
 * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of
   QueryPerformanceCounter()
 * time.monotonic() uses CLOCK_HIGHRES if available
 * Add time.get_clock_info(), time.perf_counter() and time.process_time()
   functions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * Rename time.steady() to time.monotonic()
 * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of
   QueryPerformanceCounter()
 * time.monotonic() uses CLOCK_HIGHRES if available
 * Add time.get_clock_info(), time.perf_counter() and time.process_time()
   functions
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14127: Add st_{cma}time_ns fields to os.stat() result object.</title>
<updated>2012-04-19T22:07:49+00:00</updated>
<author>
<name>Larry Hastings</name>
<email>larry@hastings.org</email>
</author>
<published>2012-04-19T22:07:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6fe20b3aee076850e390ef8bb2078b1cd09ddf88'/>
<id>6fe20b3aee076850e390ef8bb2078b1cd09ddf88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14180: Fix an invalid rounding when compiler optimization are enabled</title>
<updated>2012-03-13T18:12:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@wyplay.com</email>
</author>
<published>2012-03-13T18:12:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bd273c1ec320e3cfda41e5739180d86e052cbc80'/>
<id>bd273c1ec320e3cfda41e5739180d86e052cbc80</id>
<content type='text'>
Use volatile keyword to disable localy unsafe float optimizations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use volatile keyword to disable localy unsafe float optimizations.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14180: Remove commented code</title>
<updated>2012-03-13T12:50:34+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@wyplay.com</email>
</author>
<published>2012-03-13T12:50:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3a31dd407a966ff5265cab0f52b3bc9fa044f1aa'/>
<id>3a31dd407a966ff5265cab0f52b3bc9fa044f1aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec</title>
<updated>2012-03-13T12:35:55+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@wyplay.com</email>
</author>
<published>2012-03-13T12:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5d272cc6a28f3600a6c5ab3ea0ceea94f2285f35'/>
<id>5d272cc6a28f3600a6c5ab3ea0ceea94f2285f35</id>
<content type='text'>
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.

datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.

datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tuple</title>
<updated>2012-03-02T21:54:03+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-03-02T21:54:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=643cd68ea4b8d33a6d0163ef693ef6518f76b88f'/>
<id>643cd68ea4b8d33a6d0163ef693ef6518f76b88f</id>
<content type='text'>
Add a private API to convert an int or float to a C timespec structure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a private API to convert an int or float to a C timespec structure.
</pre>
</div>
</content>
</entry>
</feed>
