<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git, branch backport-24bd50b-3.6</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.6] closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788).</title>
<updated>2018-09-11T18:48:35+00:00</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2018-09-11T18:46:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a7c1f94b4b054ed69e873cbe3f3e528ac7cf3e5f'/>
<id>a7c1f94b4b054ed69e873cbe3f3e528ac7cf3e5f</id>
<content type='text'>
(cherry picked from commit 24bd50bdcc97d65130c07d6cd26085fd06c3e972)

Co-authored-by: Oren Milman &lt;orenmn@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 24bd50bdcc97d65130c07d6cd26085fd06c3e972)

Co-authored-by: Oren Milman &lt;orenmn@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086)</title>
<updated>2018-09-11T18:18:15+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-11T18:18:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=889f080a4d5cdb1cfb901b953f4b89f3ea806bbe'/>
<id>889f080a4d5cdb1cfb901b953f4b89f3ea806bbe</id>
<content type='text'>
&lt;!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617) --&gt;
https://bugs.python.org/issue28617
&lt;!-- /issue-number --&gt;
(cherry picked from commit 08bcf647d8a92e4bd47531588b284c6820b7a7ef)

Co-authored-by: wim glenn &lt;wim.glenn@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617) --&gt;
https://bugs.python.org/issue28617
&lt;!-- /issue-number --&gt;
(cherry picked from commit 08bcf647d8a92e4bd47531588b284c6820b7a7ef)

Co-authored-by: wim glenn &lt;wim.glenn@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Tools/gdb/libpython.py</title>
<updated>2018-09-11T17:35:08+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-11T17:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ed74a258aab2d5ca56a311acffdc7a46ca8ce2a1'/>
<id>ed74a258aab2d5ca56a311acffdc7a46ca8ce2a1</id>
<content type='text'>
Backport https://github.com/python/cpython/commit/11659d00b9185c8f02ea6b642fa475a80e21f1a9
into this change instead of leaving it a separate followup change.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport https://github.com/python/cpython/commit/11659d00b9185c8f02ea6b642fa475a80e21f1a9
into this change instead of leaving it a separate followup change.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32270: Don't close stdin/out/err in pass_fds (GH-6242) (GH-9149)</title>
<updated>2018-09-11T06:00:47+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-11T06:00:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2173bb818c6c726d831b106ed0d3fad7825905dc'/>
<id>2173bb818c6c726d831b106ed0d3fad7825905dc</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.
(cherry picked from commit ce34410b8b67f49d8275c05d51b3ead50cf97f48)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt; [Google]</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.
(cherry picked from commit ce34410b8b67f49d8275c05d51b3ead50cf97f48)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt; [Google]</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34625: Update vendorized expat version to 2.2.6. (GH-9158)</title>
<updated>2018-09-11T04:56:50+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-11T04:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b2260e59ff1eaf20de4738099005ddf507b7b27d'/>
<id>b2260e59ff1eaf20de4738099005ddf507b7b27d</id>
<content type='text'>
(cherry picked from commit 5033aa77aacaa5505636f150e8d54baac5bdca9c)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 5033aa77aacaa5505636f150e8d54baac5bdca9c)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix missing line from example shell session (GH-9143) (GH-9156)</title>
<updated>2018-09-11T02:13:23+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-11T02:13:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3cb90d1a0b32dc293de8adb52b69cdc947a18c46'/>
<id>3cb90d1a0b32dc293de8adb52b69cdc947a18c46</id>
<content type='text'>
(cherry picked from commit 2064bb6d576ff7016d59318038779f428b0f0f3f)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 2064bb6d576ff7016d59318038779f428b0f0f3f)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-34525: Fix smtplib's authobject() documentation (GH-8965)</title>
<updated>2018-09-10T18:16:11+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-10T18:16:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c0db8177dc9a7f79941551576e1faea9724e027d'/>
<id>c0db8177dc9a7f79941551576e1faea9724e027d</id>
<content type='text'>
(cherry picked from commit 78deb7f33227972987722bc3fed5bcb45fae869e)

Co-authored-by: Sebastian Rittau &lt;srittau@rittau.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 78deb7f33227972987722bc3fed5bcb45fae869e)

Co-authored-by: Sebastian Rittau &lt;srittau@rittau.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.6] Fix misleading mentions of tp_size in comments (GH-9137)</title>
<updated>2018-09-10T17:23:03+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-10T17:23:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6a939c8dae225aaf088c8c37de8cc2655c83ee61'/>
<id>6a939c8dae225aaf088c8c37de8cc2655c83ee61</id>
<content type='text'>
Many type object initializations labeled a field "tp_size" in the
comment, but the name of that field is tp_basicsize..
(cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238)

Co-authored-by: Peter Eisentraut &lt;peter@eisentraut.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many type object initializations labeled a field "tp_size" in the
comment, but the name of that field is tp_basicsize..
(cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238)

Co-authored-by: Peter Eisentraut &lt;peter@eisentraut.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038)</title>
<updated>2018-09-10T16:41:31+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-10T16:41:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8a0c254fdd68cfafede168356fc5c5c3e372bc3f'/>
<id>8a0c254fdd68cfafede168356fc5c5c3e372bc3f</id>
<content type='text'>
(cherry picked from commit 4e519377b1b84c9414a360961276993d24198825)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 4e519377b1b84c9414a360961276993d24198825)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077)</title>
<updated>2018-09-10T16:10:21+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-10T16:10:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=afb25bc2b5767ac3a83bc8c4d2826e8fdcb6b0e7'/>
<id>afb25bc2b5767ac3a83bc8c4d2826e8fdcb6b0e7</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.
(cherry picked from commit d545869d084e70d4838310e79b52a25a72a1ca56)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</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.
(cherry picked from commit d545869d084e70d4838310e79b52a25a72a1ca56)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</pre>
</div>
</content>
</entry>
</feed>
