<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_datetimemodule.c, branch 3.8</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/_datetimemodule.c?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_datetimemodule.c?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-10-03T11:01:41Z</updated>
<entry>
<title>bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418)</title>
<updated>2020-10-03T11:01:41Z</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-10-03T11:01:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9aa34f1bbbe1ca6376539f9ba436ff75d2141888'/>
<id>urn:sha1:9aa34f1bbbe1ca6376539f9ba436ff75d2141888</id>
<content type='text'>
(cherry picked from commit 52301312bb9de2299b0c42468fd1936d869e651c)

Co-authored-by: Ram Rachum &lt;ram@rachum.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-37994: Fix silencing all errors if an attribute lookup fails. (GH-15630) (GH-15635)</title>
<updated>2019-09-01T11:01:05Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-09-01T11:01:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=353053d9ad08fea0e205e6c008b8a4350c0188e6'/>
<id>urn:sha1:353053d9ad08fea0e205e6c008b8a4350c0188e6</id>
<content type='text'>
Only AttributeError should be silenced.
(cherry picked from commit 41c57b335330ff48af098d47e379e0f9ba09d233)
</content>
</entry>
<entry>
<title>bpo-37372: Fix error unpickling datetime.time objects from Python 2 with seconds&gt;=24. (GH-14307)</title>
<updated>2019-08-29T07:56:04Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-29T07:56:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1d42bf4a404f092fe90fe8984481c507a64ef0a'/>
<id>urn:sha1:d1d42bf4a404f092fe90fe8984481c507a64ef0a</id>
<content type='text'>
(cherry picked from commit 122376df550b71dd3bec0513c7483cc1714212fa)

Co-authored-by: Justin Blanchard &lt;UncombedCoconut@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-37915: Fix comparison between tzinfo objects and timezone objects (GH-15390)</title>
<updated>2019-08-23T08:48:40Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-23T08:48:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c77730300c0358d7bebd2bb39ea5d10222a3d9a'/>
<id>urn:sha1:5c77730300c0358d7bebd2bb39ea5d10222a3d9a</id>
<content type='text'>
https://bugs.python.org/issue37915

Automerge-Triggered-By: @pablogsal
(cherry picked from commit 4be11c009abe88175fa164b45e4838e7267dfa97)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-37642: Update acceptable offsets in timezone (GH-14878) (#15227)</title>
<updated>2019-08-15T19:08:57Z</updated>
<author>
<name>Paul Ganssle</name>
<email>pganssle@users.noreply.github.com</email>
</author>
<published>2019-08-15T19:08:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=27b38b99b3a154fa5c25cd67fe01fb4fc04604b0'/>
<id>urn:sha1:27b38b99b3a154fa5c25cd67fe01fb4fc04604b0</id>
<content type='text'>
This fixes an inconsistency between the Python and C implementations of
the datetime module. The pure python version of the code was not
accepting offsets greater than 23:59 but less than 24:00. This is an
accidental legacy of the original implementation, which was put in place
before tzinfo allowed sub-minute time zone offsets.

GH-14878

(cherry picked from commit 92c7e30adf5c81a54d6e5e555a6bdfaa60157a0d)</content>
</entry>
<entry>
<title>bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. (GH-14996)</title>
<updated>2019-08-04T10:01:55Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-04T10:01:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dde944f9df8dea28c07935ebd6de06db7e575c12'/>
<id>urn:sha1:dde944f9df8dea28c07935ebd6de06db7e575c12</id>
<content type='text'>
There was a discrepancy between the Python and C implementations.

Add singletons ALWAYS_EQ, LARGEST and SMALLEST in test.support
to test mixed type comparison.
(cherry picked from commit 17e52649c0e7e9389f1cc2444a53f059e24e6bca)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-36974: tp_print -&gt; tp_vectorcall_offset and tp_reserved -&gt; tp_as_async (GH-13464)</title>
<updated>2019-05-31T02:13:39Z</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-31T02:13:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=530f506ac91338b55cf2be71b1cdf50cb077512f'/>
<id>urn:sha1:530f506ac91338b55cf2be71b1cdf50cb077512f</id>
<content type='text'>
Automatically replace
tp_print -&gt; tp_vectorcall_offset
tp_compare -&gt; tp_as_async
tp_reserved -&gt; tp_as_async
</content>
</entry>
<entry>
<title>bpo-36004: Add date.fromisocalendar (GH-11888)</title>
<updated>2019-04-29T13:22:03Z</updated>
<author>
<name>Paul Ganssle</name>
<email>pganssle@users.noreply.github.com</email>
</author>
<published>2019-04-29T13:22:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=88c093705615c50c47fdd9ab976803f73de7e308'/>
<id>urn:sha1:88c093705615c50c47fdd9ab976803f73de7e308</id>
<content type='text'>
This commit implements the first version of date.fromisocalendar, the
inverse function for date.isocalendar.</content>
</entry>
<entry>
<title>bpo-36025: Fix PyDate_FromTimestamp API (GH-11922)</title>
<updated>2019-04-27T19:39:40Z</updated>
<author>
<name>Paul Ganssle</name>
<email>pganssle@users.noreply.github.com</email>
</author>
<published>2019-04-27T19:39:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4d8c8c0ad6163c24136d3419eb04f310b31f7e64'/>
<id>urn:sha1:4d8c8c0ad6163c24136d3419eb04f310b31f7e64</id>
<content type='text'>
In the process of converting the date.fromtimestamp function to use
argument clinic in GH-8535, the C API for PyDate_FromTimestamp was
inadvertently changed to expect a timestamp object rather than an
argument tuple.

This PR fixes this backwards-incompatible change by adding a new wrapper
function for the C API function that unwraps the argument tuple and
passes it to the underlying function.

This PR also adds tests for both PyDate_FromTimestamp and
PyDateTime_FromTimestamp to prevent any further regressions.</content>
</entry>
<entry>
<title>bpo-32417: Make timedelta arithmetic respect subclasses (#10902)</title>
<updated>2019-02-04T19:42:04Z</updated>
<author>
<name>Paul Ganssle</name>
<email>pganssle@users.noreply.github.com</email>
</author>
<published>2019-02-04T19:42:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89427cd0feae25bbc8693abdccfa6a8c81a2689c'/>
<id>urn:sha1:89427cd0feae25bbc8693abdccfa6a8c81a2689c</id>
<content type='text'>
* Make timedelta return subclass types

Previously timedelta would always return the `date` and `datetime`
types, regardless of what it is added to. This makes it return
an object of the type it was added to.

* Add tests for timedelta arithmetic on subclasses

* Make pure python timedelta return subclass types

* Add test for fromtimestamp with tz argument

* Add tests for subclass behavior in now

* Add news entry.

Fixes:
bpo-32417
bpo-35364

* More descriptive variable names in tests

Addresses Victor's comments
</content>
</entry>
</feed>
