<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/pytime.h, branch fix-misc-acks</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>Fix _PyTime_MIN/MAX values (GH-15384)</title>
<updated>2019-08-23T15:56:51+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-23T15:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8fac472436cccaf936732273eeb11649e2d8355d'/>
<id>8fac472436cccaf936732273eeb11649e2d8355d</id>
<content type='text'>
_PyTime_t type is defined as int64_t, and so min/max are INT64_MIN/INT64_MAX,
not PY_LLONG_MIN/PY_LLONG_MAX.
(cherry picked from commit 8e76c456226438f2e4931ce7baf05ac8faae34a1)

Co-authored-by: Sergey Fedoseev &lt;fedoseev.sergey@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_PyTime_t type is defined as int64_t, and so min/max are INT64_MIN/INT64_MAX,
not PY_LLONG_MIN/PY_LLONG_MAX.
(cherry picked from commit 8e76c456226438f2e4931ce7baf05ac8faae34a1)

Co-authored-by: Sergey Fedoseev &lt;fedoseev.sergey@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31784: Implement PEP 564: add time.time_ns() (#3989)</title>
<updated>2017-11-02T14:28:27+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-02T14:28:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c29b585fd4b5a91d17fc5dd41d86edff28a30da3'/>
<id>c29b585fd4b5a91d17fc5dd41d86edff28a30da3</id>
<content type='text'>
Add new time functions:

* time.clock_gettime_ns()
* time.clock_settime_ns()
* time.monotonic_ns()
* time.perf_counter_ns()
* time.process_time_ns()
* time.time_ns()

Add new _PyTime functions:

* _PyTime_FromTimespec()
* _PyTime_FromNanosecondsObject()
* _PyTime_FromTimeval()

Other changes:

* Add also os.times() tests to test_os.
* pytime_fromtimeval() and pytime_fromtimeval() now return
  _PyTime_MAX or _PyTime_MIN on overflow, rather than undefined
  behaviour
* _PyTime_FromNanoseconds() parameter type changes from long long to
  _PyTime_t</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new time functions:

* time.clock_gettime_ns()
* time.clock_settime_ns()
* time.monotonic_ns()
* time.perf_counter_ns()
* time.process_time_ns()
* time.time_ns()

Add new _PyTime functions:

* _PyTime_FromTimespec()
* _PyTime_FromNanosecondsObject()
* _PyTime_FromTimeval()

Other changes:

* Add also os.times() tests to test_os.
* pytime_fromtimeval() and pytime_fromtimeval() now return
  _PyTime_MAX or _PyTime_MIN on overflow, rather than undefined
  behaviour
* _PyTime_FromNanoseconds() parameter type changes from long long to
  _PyTime_t</pre>
</div>
</content>
</entry>
<entry>
<title>Fix trailing whitespaces in C files. (#4130)</title>
<updated>2017-10-26T13:59:40+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-10-26T13:59:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bdf4298ae2c1d720fd808520267ca3a4e56df842'/>
<id>bdf4298ae2c1d720fd808520267ca3a4e56df842</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31786: Make functions in the select module blocking when timeout is a small negative value. (#4003)</title>
<updated>2017-10-17T14:14:41+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2017-10-17T14:14:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2c15b29aea5d6b9c61aa42d2c24a07ff1edb4b46'/>
<id>2c15b29aea5d6b9c61aa42d2c24a07ff1edb4b46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31773: _PyTime_GetPerfCounter() uses _PyTime_t (GH-3983)</title>
<updated>2017-10-16T15:44:31+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-10-16T15:44:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bdaeb7d237462a629e6c85001317faa85f94a0c6'/>
<id>bdaeb7d237462a629e6c85001317faa85f94a0c6</id>
<content type='text'>
* Rewrite win_perf_counter() to only use integers internally.
* Add _PyTime_MulDiv() which compute "ticks * mul / div"
  in two parts (int part and remaining) to prevent integer overflow.
* Clock frequency is checked at initialization for integer overflow.
* Enhance also pymonotonic() to reduce the precision loss on macOS
  (mach_absolute_time() clock).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rewrite win_perf_counter() to only use integers internally.
* Add _PyTime_MulDiv() which compute "ticks * mul / div"
  in two parts (int part and remaining) to prevent integer overflow.
* Clock frequency is checked at initialization for integer overflow.
* Enhance also pymonotonic() to reduce the precision loss on macOS
  (mach_absolute_time() clock).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31773: time.perf_counter() uses again double (GH-3964)</title>
<updated>2017-10-12T15:51:56+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-10-12T15:51:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cba9a0c6def70549046f1afa6a80e38fe706520e'/>
<id>cba9a0c6def70549046f1afa6a80e38fe706520e</id>
<content type='text'>
time.clock() and time.perf_counter() now use again C double
internally.

Remove also _PyTime_GetWinPerfCounterWithInfo(): use
_PyTime_GetPerfCounterDoubleWithInfo() instead on Windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
time.clock() and time.perf_counter() now use again C double
internally.

Remove also _PyTime_GetWinPerfCounterWithInfo(): use
_PyTime_GetPerfCounterDoubleWithInfo() instead on Windows.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime (#3936)</title>
<updated>2017-10-10T09:51:50+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-10-10T09:51:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a997c7b434631f51e00191acea2ba6097691e859'/>
<id>a997c7b434631f51e00191acea2ba6097691e859</id>
<content type='text'>
* Add _PyTime_GetPerfCounter()
* Use _PyTime_GetPerfCounter() for -X importtime
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add _PyTime_GetPerfCounter()
* Use _PyTime_GetPerfCounter() for -X importtime
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28148: Stop using localtime() and gmtime() in the time module.</title>
<updated>2016-09-28T21:31:35+00:00</updated>
<author>
<name>Alexander Belopolsky</name>
<email>alexander.belopolsky@gmail.com</email>
</author>
<published>2016-09-28T21:31:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3e7a3cb903258321a17265a1c01976f88e7b72fc'/>
<id>3e7a3cb903258321a17265a1c01976f88e7b72fc</id>
<content type='text'>
Introduced platform independent _PyTime_localtime API that is similar
to POSIX localtime_r, but available on all platforms.  Patch by Ed
Schouten.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduced platform independent _PyTime_localtime API that is similar
to POSIX localtime_r, but available on all platforms.  Patch by Ed
Schouten.
</pre>
</div>
</content>
</entry>
<entry>
<title>replace Python aliases for standard integer types with the standard integer types (#17884)</title>
<updated>2016-09-06T20:24:00+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-06T20:24:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9b3d77052f58858ebe1f6ff0dd8dc1caf933cd62'/>
<id>9b3d77052f58858ebe1f6ff0dd8dc1caf933cd62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>replace PY_LONG_LONG with long long</title>
<updated>2016-09-06T17:46:49+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-06T17:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=af580dff4af3cb812cdd7a229a4a65059b3bc1ee'/>
<id>af580dff4af3cb812cdd7a229a4a65059b3bc1ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
