<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/datetime.py, 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 #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methods</title>
<updated>2015-09-18T12:42:05+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-09-18T12:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=511491ade0bb77febb176bc75f049797f0c71ed0'/>
<id>511491ade0bb77febb176bc75f049797f0c71ed0</id>
<content type='text'>
of datetime.datetime: microseconds are now rounded to nearest with ties going
to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards
zero (ROUND_DOWN). It's important that these methods use the same rounding
mode than datetime.timedelta to keep the property:

   (datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t)

It also the rounding mode used by round(float) for example.

Add more unit tests on the rounding mode in test_datetime.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of datetime.datetime: microseconds are now rounded to nearest with ties going
to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards
zero (ROUND_DOWN). It's important that these methods use the same rounding
mode than datetime.timedelta to keep the property:

   (datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t)

It also the rounding mode used by round(float) for example.

Add more unit tests on the rounding mode in test_datetime.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23641: Cleaned out legacy dunder names from tests and docs.</title>
<updated>2015-03-12T19:56:08+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-03-12T19:56:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a60c2fe4807e89a5844979fe46b3ea39572fc3be'/>
<id>a60c2fe4807e89a5844979fe46b3ea39572fc3be</id>
<content type='text'>
Fixed 2 to 3 porting bug in pynche.ColorDB.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed 2 to 3 porting bug in pynche.ColorDB.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes #23521: Corrected pure python implementation of timedelta division.</title>
<updated>2015-02-28T15:41:57+00:00</updated>
<author>
<name>Alexander Belopolsky</name>
<email>alexander.belopolsky@gmail.com</email>
</author>
<published>2015-02-28T15:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=24d3deefcf2f78b12fc29ed4c9a3811d46c534bb'/>
<id>24d3deefcf2f78b12fc29ed4c9a3811d46c534bb</id>
<content type='text'>
 * Eliminated OverflowError from timedelta * float for some floats;
 * Corrected rounding in timedlta true division.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * Eliminated OverflowError from timedelta * float for some floats;
 * Corrected rounding in timedlta true division.
</pre>
</div>
</content>
</entry>
<entry>
<title>improve comment</title>
<updated>2013-08-29T21:29:30+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2013-08-29T21:29:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=da0bea213dd3c0cdf7a31936963c30203384dcc4'/>
<id>da0bea213dd3c0cdf7a31936963c30203384dcc4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make lists uniformly integers for the benefit of pypy</title>
<updated>2013-08-29T21:27:57+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2013-08-29T21:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f908efb75cfb7891a42b5a9ec9e0100b8c758101'/>
<id>f908efb75cfb7891a42b5a9ec9e0100b8c758101</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18783: Removed existing mentions of Python long type in docstrings,</title>
<updated>2013-08-27T17:17:03+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-08-27T17:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=46e1ce214b5711e8dae63a1b5a0a7aafb371baf0'/>
<id>46e1ce214b5711e8dae63a1b5a0a7aafb371baf0</id>
<content type='text'>
error messages and comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
error messages and comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18783: Removed existing mentions of Python long type in docstrings,</title>
<updated>2013-08-27T16:40:23+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-08-27T16:40:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9594942716a8f9c557b85d31751753d89cd7cebf'/>
<id>9594942716a8f9c557b85d31751753d89cd7cebf</id>
<content type='text'>
error messages and comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
error messages and comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>#18705: merge with 3.3.</title>
<updated>2013-08-17T12:53:55+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2013-08-17T12:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9a3777e525b389ec5881c3f80a482fb821ab3ea5'/>
<id>9a3777e525b389ec5881c3f80a482fb821ab3ea5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#18705: fix a number of typos.  Patch by Févry Thibault.</title>
<updated>2013-08-17T12:50:46+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2013-08-17T12:50:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=30b9d5d3af043fc2687ad11a188a34fe355e20ef'/>
<id>30b9d5d3af043fc2687ad11a188a34fe355e20ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)</title>
<updated>2013-07-04T21:43:24+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2013-07-04T21:43:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cd171c8e92c10d327151400fd8f16b11a4964615'/>
<id>cd171c8e92c10d327151400fd8f16b11a4964615</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
