<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pytime.c, branch v3.9.5</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295)</title>
<updated>2020-11-22T10:18:40+00:00</updated>
<author>
<name>Ronald Oussoren</name>
<email>ronaldoussoren@mac.com</email>
</author>
<published>2020-11-22T10:18:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e8b1c038b14b5fc8120aab62c9bf5fb840274cb6'/>
<id>e8b1c038b14b5fc8120aab62c9bf5fb840274cb6</id>
<content type='text'>
* [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855)

Co-authored-by:  Lawrence D’Anna &lt;lawrence_danna@apple.com&gt;

* Add support for macOS 11 and Apple Silicon (aka arm64)

  As a side effect of this work use the system copy of libffi on macOS, and remove the vendored copy

* Support building on recent versions of macOS while deploying to older versions

  This allows building installers on macOS 11 while still supporting macOS 10.9..
(cherry picked from commit 41761933c1c30bb6003b65eef1ba23a83db4eae4)

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;

* Back port of changes to _decimal to support arm64

* temp_dir is in test.support in 3.9</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855)

Co-authored-by:  Lawrence D’Anna &lt;lawrence_danna@apple.com&gt;

* Add support for macOS 11 and Apple Silicon (aka arm64)

  As a side effect of this work use the system copy of libffi on macOS, and remove the vendored copy

* Support building on recent versions of macOS while deploying to older versions

  This allows building installers on macOS 11 while still supporting macOS 10.9..
(cherry picked from commit 41761933c1c30bb6003b65eef1ba23a83db4eae4)

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;

* Back port of changes to _decimal to support arm64

* temp_dir is in test.support in 3.9</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137)</title>
<updated>2020-05-18T16:22:53+00:00</updated>
<author>
<name>Minmin Gong</name>
<email>gongminmin@msn.com</email>
</author>
<published>2020-05-18T16:22:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f660567937277cc3a2cd53af77bbb18e905427e8'/>
<id>f660567937277cc3a2cd53af77bbb18e905427e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38249: Expand Py_UNREACHABLE() to __builtin_unreachable() in the release mode. (GH-16329)</title>
<updated>2020-03-09T18:49:52+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-03-09T18:49:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=eebaa9bfc593d5a46b293c1abd929fbfbfd28199'/>
<id>eebaa9bfc593d5a46b293c1abd929fbfbfd28199</id>
<content type='text'>
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39502: Fix 64-bit Python PyTime_localtime() on AIX  (GH-18285)</title>
<updated>2020-02-07T17:56:16+00:00</updated>
<author>
<name>Michael Felt</name>
<email>aixtools@users.noreply.github.com</email>
</author>
<published>2020-02-07T17:56:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=de6f38db4859f7b8fe4da4556f06c52675fff24a'/>
<id>de6f38db4859f7b8fe4da4556f06c52675fff24a</id>
<content type='text'>
Fix time.localtime() on 64-bit AIX to support years before 1902 and after 2038.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix time.localtime() on 64-bit AIX to support years before 1902 and after 2038.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38068: Clean up gettimeofday configure logic. (GH-15775)</title>
<updated>2019-09-10T10:37:59+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-09-10T10:37:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f1c19031fd5f4cf6faad539e30796b42954527db'/>
<id>f1c19031fd5f4cf6faad539e30796b42954527db</id>
<content type='text'>
Assume gettimeofday exists and takes two arguments.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Assume gettimeofday exists and takes two arguments.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34373: Fix time.mktime() on AIX (GH-12726)</title>
<updated>2019-04-09T17:12:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-09T17:12:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8709490f48fc27b3dd1a16acb33bea2299c6a575'/>
<id>8709490f48fc27b3dd1a16acb33bea2299c6a575</id>
<content type='text'>
Fix time.mktime() error handling on AIX for year before 1970.

Other changes:

* mktime(): rename variable 'buf' to 'tm'.
* _PyTime_localtime():

  * Use "localtime" rather than "ctime" in the error message
    (specific to AIX).
  * Always initialize errno to 0 just in case if localtime_r()
    doesn't set errno on error.
  * On AIX, avoid abs() which is limited to int type.
  * EINVAL constant is now always available.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix time.mktime() error handling on AIX for year before 1970.

Other changes:

* mktime(): rename variable 'buf' to 'tm'.
* _PyTime_localtime():

  * Use "localtime" rather than "ctime" in the error message
    (specific to AIX).
  * Always initialize errno to 0 just in case if localtime_r()
    doesn't set errno on error.
  * On AIX, avoid abs() which is limited to int type.
  * EINVAL constant is now always available.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34373: fix test_mktime and test_pthread_getcpuclickid tests on AIX (GH-8726)</title>
<updated>2018-12-28T13:57:37+00:00</updated>
<author>
<name>Michael Felt</name>
<email>aixtools@users.noreply.github.com</email>
</author>
<published>2018-12-28T13:57:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e2926b72488596f59e43c27f3b7cedf0c5b9e88e'/>
<id>e2926b72488596f59e43c27f3b7cedf0c5b9e88e</id>
<content type='text'>
* Fix test_mktime on AIX by adding code to get mktime to behave the
  same way as it does on other *nix systems
* Fix test_pthread_getcpuclickid in AIX by adjusting the test case
  expectations when running on AIX in 32-bit mode

Patch by Michael Felt.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix test_mktime on AIX by adding code to get mktime to behave the
  same way as it does on other *nix systems
* Fix test_pthread_getcpuclickid in AIX by adjusting the test case
  expectations when running on AIX in 32-bit mode

Patch by Michael Felt.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix miscellaneous typos (#4275)</title>
<updated>2017-11-05T13:37:50+00:00</updated>
<author>
<name>luzpaz</name>
<email>luzpaz@users.noreply.github.com</email>
</author>
<published>2017-11-05T13:37:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a5293b4ff2c1b5446947b4986f98ecf5d52432d4'/>
<id>a5293b4ff2c1b5446947b4986f98ecf5d52432d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://91.123.203.49/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>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://91.123.203.49/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>
</feed>
