<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/timemodule.c, branch 3.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/timemodule.c?h=3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/timemodule.c?h=3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-12-03T23:22:35Z</updated>
<entry>
<title>[3.7] bpo-35373: Fix PyInit_timezone() error handling (GH-10864)</title>
<updated>2018-12-03T23:22:35Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-03T23:22:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f455353bc0d195e092f09fec92ed16e9be02b7b1'/>
<id>urn:sha1:f455353bc0d195e092f09fec92ed16e9be02b7b1</id>
<content type='text'>
* bpo-35373: Fix PyInit_timezone() error handling

PyInit_timezone() now returns -1 at exit if an exception is raised.
Check also explicitly PyUnicode_DecodeLocale() and Py_BuildValue()
errors.

* bpo-35373: Fix PyInit_time() error handling (GH-10865)

* PyInit_time() now returns NULL if an exception is raised.
* Rename PyInit_timezone() to init_timezone(). "PyInit_" prefix is
  a special prefix for function initializing a module.
  init_timezone() doesn't initialize a module and the function is not
  exported.

(cherry picked from commit 3bb150d8148e3cc08418077a58f43e064b9fde61)
(cherry picked from commit 5eb78c75128187a36d8e983027632fa51cc2ff4d)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
</entry>
<entry>
<title>get_gmtoff() now returns time_t (GH-10838) (GH-10840)</title>
<updated>2018-12-01T00:24:16Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-12-01T00:24:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6c3f272b01c5d327e97f65115217e283103f7c66'/>
<id>urn:sha1:6c3f272b01c5d327e97f65115217e283103f7c66</id>
<content type='text'>
get_gmtoff() now returns time_t instead of int to fix the following
Visual Studio warning:

    Modules\timemodule.c(1183): warning C4244: 'return':
    conversion from 'time_t' to 'int', possible loss of data

(cherry picked from commit 503ce5c482cb267b0770bc46c315d5cf822bdca9)</content>
</entry>
<entry>
<title>closes bpo-35025: Properly guard the `CLOCK_GETTIME` et al macros in timemodule.c. (GH-9961)</title>
<updated>2018-10-21T00:30:54Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-21T00:30:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=beb83d013e0295c987087febf2be78b1da389b15'/>
<id>urn:sha1:beb83d013e0295c987087febf2be78b1da389b15</id>
<content type='text'>
Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions
(cherry picked from commit 94451182ccd6729c11338926d8a3d11645e86626)

Co-authored-by: Max Bélanger &lt;aeromax@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418)</title>
<updated>2018-09-21T07:41:42Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-21T07:41:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f37496e893d743dbd01c802c8e8cdc16498a1604'/>
<id>urn:sha1:f37496e893d743dbd01c802c8e8cdc16498a1604</id>
<content type='text'>
There was a missing PyMem_Free(format) in time_strftime().
(cherry picked from commit 91e6c8717b7dcbcc46b189509de5f2d335819f37)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-13312: Avoid int underflow in time year. (GH-8912)</title>
<updated>2018-08-25T05:53:20Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-25T05:53:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c47acc2bb1d0a3fb6dda14ced958d272fb2821a6'/>
<id>urn:sha1:c47acc2bb1d0a3fb6dda14ced958d272fb2821a6</id>
<content type='text'>
Avoids an integer underflow in the time module's year handling code.
(cherry picked from commit 76be0fffff8b7dbe649ad4821144461800ffb0d0)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>[3.6] bpo-31806: Use _PyTime_ROUND_TIMEOUT for the timeout argument parsing in more functions (GH-4026) (#4032)</title>
<updated>2017-10-18T09:09:57Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2017-10-18T09:09:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=be4e9cc769aac3cb46670c049b9f21e412be53d1'/>
<id>urn:sha1:be4e9cc769aac3cb46670c049b9f21e412be53d1</id>
<content type='text'>
Fix timeout rounding in time.sleep(), threading.Lock.acquire() and
socket.socket.settimeout() to round correctly negative timeouts between -1.0 and
0.0. The functions now block waiting for events as expected. Previously, the
call was incorrectly non-blocking.
(cherry picked from commit 59af94fa61bf90adbe624508e909b5d6ef6e8464)</content>
</entry>
<entry>
<title>[3.6] bpo-28157: Improvements for the time module documentation (GH-928)</title>
<updated>2017-10-11T13:50:21Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2017-10-11T13:50:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=764969a4b9ed7c6d2adbc04269f9b4fa392a1eed'/>
<id>urn:sha1:764969a4b9ed7c6d2adbc04269f9b4fa392a1eed</id>
<content type='text'>
* Separated functions and constants descriptions in sections.
* Added a note about the limitations of timezone constants.
* Removed redundant lists from the module docstring.

(cherry picked from commit 703ff381ffa946c23e7e25b0ae93a636a2607a40)</content>
</entry>
<entry>
<title>[3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (GH-2285) (#2443)</title>
<updated>2017-06-27T18:08:58Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-06-27T18:08:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0edffa3073b551ffeca34952529e7b292f1bd350'/>
<id>urn:sha1:0edffa3073b551ffeca34952529e7b292f1bd350</id>
<content type='text'>
Raise a ValueError if the second argument is NULL and the wchar_t\*
string contains null characters..
(cherry picked from commit e613e6add5f07ff6aad5802924596b631b707d2a)</content>
</entry>
<entry>
<title>tmtotuple(): use time_t for gmtoff (#1276) (#1635)</title>
<updated>2017-05-17T21:45:45Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-05-17T21:45:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=69f3a5ac28041fac86897e0c90d98ad9fd6fa3f7'/>
<id>urn:sha1:69f3a5ac28041fac86897e0c90d98ad9fd6fa3f7</id>
<content type='text'>
timegm() return type is time_t, not int. Use time_t to prevent the
following compiler warning on Windows:

timemodule.c: warning C4244: '=': conversion from 'time_t' to 'int',
              possible loss of data
(cherry picked from commit 0d659e5614cad512a1940125135b443b3eecb5d7)</content>
</entry>
<entry>
<title>Fixes maximum usable length of buffer for formatting time zone in localtime().</title>
<updated>2016-12-14T19:22:05Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2016-12-14T19:22:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c3c6f71662cdfcc4ab27c9d8df1dbbe96a3bf079'/>
<id>urn:sha1:c3c6f71662cdfcc4ab27c9d8df1dbbe96a3bf079</id>
<content type='text'>
</content>
</entry>
</feed>
