<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/test, branch master</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>Merge 3.6</title>
<updated>2017-02-10T11:38:02+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-10T11:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d4f3f7cf3514466c9d3c4b1b66825f1ec159f1f8'/>
<id>d4f3f7cf3514466c9d3c4b1b66825f1ec159f1f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test_datetime on Windows</title>
<updated>2017-02-10T11:37:21+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-10T11:37:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=40cb547717071319838f6064cf351a048e1ab970'/>
<id>40cb547717071319838f6064cf351a048e1ab970</id>
<content type='text'>
Issue #29100: On Windows, datetime.datetime.fromtimestamp(min_ts) fails with an
OSError in test_timestamp_limits().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29100: On Windows, datetime.datetime.fromtimestamp(min_ts) fails with an
OSError in test_timestamp_limits().
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 3.6</title>
<updated>2017-02-10T10:45:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-10T10:45:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=5df8c78027274de63ba88da99daf4ed48f041171'/>
<id>5df8c78027274de63ba88da99daf4ed48f041171</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test_datetime on system with 32-bit time_t</title>
<updated>2017-02-10T10:45:14+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-10T10:45:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=e7274193ca5c816cf4c012b2151632bc447f0d0c'/>
<id>e7274193ca5c816cf4c012b2151632bc447f0d0c</id>
<content type='text'>
Issue #29100: Catch OverflowError in the new test_timestamp_limits() test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29100: Catch OverflowError in the new test_timestamp_limits() test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 3.6</title>
<updated>2017-02-10T09:34:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-10T09:34:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=0b87bc9a510db8933ec52eee2cbe71b2388ad5c3'/>
<id>0b87bc9a510db8933ec52eee2cbe71b2388ad5c3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix datetime.fromtimestamp(): check bounds</title>
<updated>2017-02-10T09:34:02+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-10T09:34:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=efb9e6050c840ddb095b372abd5a6d04c73aff2b'/>
<id>efb9e6050c840ddb095b372abd5a6d04c73aff2b</id>
<content type='text'>
Issue #29100: Fix datetime.fromtimestamp() regression introduced in Python
3.6.0: check minimum and maximum years.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29100: Fix datetime.fromtimestamp() regression introduced in Python
3.6.0: check minimum and maximum years.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29507: Update test_exceptions</title>
<updated>2017-02-09T22:49:50+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-09T22:49:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d8858bc383ee8c29bebfdb481d959fa96cb9b869'/>
<id>d8858bc383ee8c29bebfdb481d959fa96cb9b869</id>
<content type='text'>
test_unraisable() of test_exceptions expects that PyErr_WriteUnraisable(method)
fails on repr(method).

Before the previous change (7b8df4a5d81d), slot_tp_finalize() called
PyErr_WriteUnraisable() with a PyMethodObject. In this case, repr(method) calls
repr(self) which is BrokenRepr.__repr__() and the calls raises a new exception.

After the previous change, slot_tp_finalize() uses an unbound method: repr() is
called on a regular __del__() method which doesn't call repr(self). repr()
doesn't fail anymore.

PyErr_WriteUnraisable() doesn't call __repr__() anymore, so remove BrokenRepr
unit test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test_unraisable() of test_exceptions expects that PyErr_WriteUnraisable(method)
fails on repr(method).

Before the previous change (7b8df4a5d81d), slot_tp_finalize() called
PyErr_WriteUnraisable() with a PyMethodObject. In this case, repr(method) calls
repr(self) which is BrokenRepr.__repr__() and the calls raises a new exception.

After the previous change, slot_tp_finalize() uses an unbound method: repr() is
called on a regular __del__() method which doesn't call repr(self). repr()
doesn't fail anymore.

PyErr_WriteUnraisable() doesn't call __repr__() anymore, so remove BrokenRepr
unit test.
</pre>
</div>
</content>
</entry>
<entry>
<title>support: temp_dir() and change_cwd() uses repr() in error message</title>
<updated>2017-02-08T14:49:10+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-08T14:49:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=523c06aebf562b35e1fa84080bd051b608fe7d7f'/>
<id>523c06aebf562b35e1fa84080bd051b608fe7d7f</id>
<content type='text'>
Serhiy Storshaka pointed me that str(path) can emit a BytesWarning: use
repr(path) instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Serhiy Storshaka pointed me that str(path) can emit a BytesWarning: use
repr(path) instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix regrtest -j0 -R output</title>
<updated>2017-02-08T12:06:08+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-08T12:06:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=ccbd90beca0b79c3f9efa5d9486a912bb43b0b9c'/>
<id>ccbd90beca0b79c3f9efa5d9486a912bb43b0b9c</id>
<content type='text'>
Write also dots into stderr, instead of stdout.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Write also dots into stderr, instead of stdout.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update test_support for my temp_dir/change_cwd changes</title>
<updated>2017-02-08T11:49:02+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-08T11:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=3a329a0cdb7c305880d6f0adbd73d278cd3c76d2'/>
<id>3a329a0cdb7c305880d6f0adbd73d278cd3c76d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
