<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test, branch benjamin-interp-initialize</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>bpo-32270: Don't close stdin/out/err in pass_fds (GH-6242)</title>
<updated>2018-09-11T00:46:22+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2018-09-11T00:46:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ce34410b8b67f49d8275c05d51b3ead50cf97f48'/>
<id>ce34410b8b67f49d8275c05d51b3ead50cf97f48</id>
<content type='text'>
When subprocess.Popen() stdin= stdout= or stderr= handles are specified
and appear in pass_fds=, don't close the original fds after dup'ing them.

This implementation and unittest primarily came from @izbyshev (see the PR)

See also https://github.com/izbyshev/cpython/commit/b89b52f28490b69142d5c061604b3a3989cec66c

This also removes the old manual p2cread, c2pwrite, and errwrite closing logic
as inheritable flags and _close_open_fds takes care of that properly today without special treatment.

This code is within child_exec() where it is the only thread so there is no
race condition between the dup and _Py_set_inheritable_async_safe call.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When subprocess.Popen() stdin= stdout= or stderr= handles are specified
and appear in pass_fds=, don't close the original fds after dup'ing them.

This implementation and unittest primarily came from @izbyshev (see the PR)

See also https://github.com/izbyshev/cpython/commit/b89b52f28490b69142d5c061604b3a3989cec66c

This also removes the old manual p2cread, c2pwrite, and errwrite closing logic
as inheritable flags and _close_open_fds takes care of that properly today without special treatment.

This code is within child_exec() where it is the only thread so there is no
race condition between the dup and _Py_set_inheritable_async_safe call.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33217: Raise TypeError for non-Enum lookups in Enums (GH-6651)</title>
<updated>2018-09-10T18:21:04+00:00</updated>
<author>
<name>Rahul Jha</name>
<email>rj722@protonmail.com</email>
</author>
<published>2018-09-10T18:21:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9430652535f88125d8003f342a8884d34885d876'/>
<id>9430652535f88125d8003f342a8884d34885d876</id>
<content type='text'>
* bpo-33217: Raise TypeError for non-Enum lookups in Enums</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-33217: Raise TypeError for non-Enum lookups in Enums</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 (GH-7063)</title>
<updated>2018-09-10T18:10:01+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2018-09-10T18:10:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=51a4743d19abd016f0772a57fb31df7af9220e18'/>
<id>51a4743d19abd016f0772a57fb31df7af9220e18</id>
<content type='text'>
HMAC's digestmod was deprecated marked for removal, this removes it as planned.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HMAC's digestmod was deprecated marked for removal, this removes it as planned.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-26502: Implement FrameSummary.__len__() (GH-8632)</title>
<updated>2018-09-10T17:02:33+00:00</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2018-09-10T17:02:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9797b7ae4496627836c55333765e10201a9840e3'/>
<id>9797b7ae4496627836c55333765e10201a9840e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077)</title>
<updated>2018-09-10T15:43:10+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-10T15:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d545869d084e70d4838310e79b52a25a72a1ca56'/>
<id>d545869d084e70d4838310e79b52a25a72a1ca56</id>
<content type='text'>
The recursive frame pruning code always undercounted the number of elided frames
by one. That is, in the "[Previous line repeated N more times]" message, N would
always be one too few. Near the recursive pruning cutoff, one frame could be
silently dropped. That situation is demonstrated in the OP of the bug report.

The fix is to start the identical frame counter at 1.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The recursive frame pruning code always undercounted the number of elided frames
by one. That is, in the "[Previous line repeated N more times]" message, N would
always be one too few. Near the recursive pruning cutoff, one frame could be
silently dropped. That situation is demonstrated in the OP of the bug report.

The fix is to start the identical frame counter at 1.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30977: rework code changes according to post-merge code review (GH-9106)</title>
<updated>2018-09-10T13:11:04+00:00</updated>
<author>
<name>Tal Einat</name>
<email>taleinat+github@gmail.com</email>
</author>
<published>2018-09-10T13:11:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=54752533b2ed1c898ffe5ec2e795c6910ee46a39'/>
<id>54752533b2ed1c898ffe5ec2e795c6910ee46a39</id>
<content type='text'>
also mention the change and its consequences in What's New
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also mention the change and its consequences in What's New
</pre>
</div>
</content>
</entry>
<entry>
<title>Test dict values iterator pickling with pickle.HIGHEST_PROTOCOL. (GH-9052)</title>
<updated>2018-09-10T09:42:09+00:00</updated>
<author>
<name>Sergey Fedoseev</name>
<email>fedoseev.sergey@gmail.com</email>
</author>
<published>2018-09-10T09:42:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1f36bf6077d93cb43fd84bea4a8a625fa772d1fa'/>
<id>1f36bf6077d93cb43fd84bea4a8a625fa772d1fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-20104: Change the file_actions parameter of os.posix_spawn(). (GH-6725)</title>
<updated>2018-09-08T11:48:18+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-09-08T11:48:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d700f97b627989d41cd4629dc02969f9a6b56d2f'/>
<id>d700f97b627989d41cd4629dc02969f9a6b56d2f</id>
<content type='text'>
* Make its default value an empty tuple instead of None.
* Make it a keyword-only parameter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make its default value an empty tuple instead of None.
* Make it a keyword-only parameter.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34246: Make sure test_smtplib always cleans resources when finished (GH-9108)</title>
<updated>2018-09-07T23:15:22+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2018-09-07T23:15:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5b7a2cb5caeb7df68e637f45a98632cbc84a51bf'/>
<id>5b7a2cb5caeb7df68e637f45a98632cbc84a51bf</id>
<content type='text'>
* Make sure that when some of the tests in test_smtplib fail, the allocated threads
and sockets are not leaked. 

* Use support.join_thread() instead of thread.join() to avoid infinite blocks.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make sure that when some of the tests in test_smtplib fail, the allocated threads
and sockets are not leaked. 

* Use support.join_thread() instead of thread.join() to avoid infinite blocks.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34246: Use no mutable default args in smtplib (GH-8554)</title>
<updated>2018-09-07T22:04:48+00:00</updated>
<author>
<name>Pablo Aguiar</name>
<email>scorphus@gmail.com</email>
</author>
<published>2018-09-07T22:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d5fbe9b1a3d65ceeb9159c5ba999ee966a945f76'/>
<id>d5fbe9b1a3d65ceeb9159c5ba999ee966a945f76</id>
<content type='text'>
Some methods of the SMTP class use mutable default arguments. Specially
`send_message` is affected as it mutates one of the args by appending items
to it, which has side effects on further calls.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some methods of the SMTP class use mutable default arguments. Specially
`send_message` is affected as it mutates one of the args by appending items
to it, which has side effects on further calls.</pre>
</div>
</content>
</entry>
</feed>
