<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git, branch benjamin-interp-initialize</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>Initialize a variable to make the compiler happy.</title>
<updated>2018-09-11T01:27:22+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-11T01:27:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=444f3e657f6e1264585fc10f47cc71ad829c4864'/>
<id>444f3e657f6e1264585fc10f47cc71ad829c4864</id>
<content type='text'>
GCC complains:

Python/pylifecycle.c: In function ‘_Py_InitializeFromConfig’:
Python/pylifecycle.c:900:13: warning: ‘interp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         err = _Py_InitializeMainInterpreter(interp, &amp;main_config);
         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This seems spurious since &amp;interp is passed to _Py_InitializeCore. Anyway, we
can easily initialize to quiet the warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GCC complains:

Python/pylifecycle.c: In function ‘_Py_InitializeFromConfig’:
Python/pylifecycle.c:900:13: warning: ‘interp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         err = _Py_InitializeMainInterpreter(interp, &amp;main_config);
         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This seems spurious since &amp;interp is passed to _Py_InitializeCore. Anyway, we
can easily initialize to quiet the warning.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove obsolete comment about latin-1 in `normalize_encoding` (GH-8739)</title>
<updated>2018-09-11T00:54:37+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2018-09-11T00:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ed2e9ab804606019f167ef914bde43bc135c725f'/>
<id>ed2e9ab804606019f167ef914bde43bc135c725f</id>
<content type='text'>
This docstring has drifted since python2: https://github.com/python/cpython/blob/ca079a3ea30098aff3197c559a0e32d42dda6d84/Lib/encodings/__init__.py#L68</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This docstring has drifted since python2: https://github.com/python/cpython/blob/ca079a3ea30098aff3197c559a0e32d42dda6d84/Lib/encodings/__init__.py#L68</pre>
</div>
</content>
</entry>
<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://91.123.203.49/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-8110: Refactor platform detection in subprocess (GH-9053)</title>
<updated>2018-09-10T23:16:08+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2018-09-10T23:16:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=880d42a3b247306f67837aa95e23f7c3471a30a3'/>
<id>880d42a3b247306f67837aa95e23f7c3471a30a3</id>
<content type='text'>
Check for functionality via imports rather than checking sys.platform
specifically for Windows</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for functionality via imports rather than checking sys.platform
specifically for Windows</pre>
</div>
</content>
</entry>
<entry>
<title>switch descriptor howto to return value annotation (GH-7796)</title>
<updated>2018-09-10T21:35:38+00:00</updated>
<author>
<name>NotAFile</name>
<email>notafile@gmail.com</email>
</author>
<published>2018-09-10T21:35:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=28ea4c284724283265e95d1d1716c9f1dfc2d741'/>
<id>28ea4c284724283265e95d1d1716c9f1dfc2d741</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-20180: itertools.groupby Argument Clinic conversion (GH-4170)</title>
<updated>2018-09-10T18:33:08+00:00</updated>
<author>
<name>Tal Einat</name>
<email>taleinat+github@gmail.com</email>
</author>
<published>2018-09-10T18:33:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3286ce4adee85c5ce8ab3ee3089f3cd44a017fd7'/>
<id>3286ce4adee85c5ce8ab3ee3089f3cd44a017fd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://91.123.203.49/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://91.123.203.49/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>closes bpo-34525: Fix smtplib's authobject() documentation (GH-8965)</title>
<updated>2018-09-10T17:29:43+00:00</updated>
<author>
<name>Sebastian Rittau</name>
<email>srittau@rittau.org</email>
</author>
<published>2018-09-10T17:29:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=78deb7f33227972987722bc3fed5bcb45fae869e'/>
<id>78deb7f33227972987722bc3fed5bcb45fae869e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://91.123.203.49/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>
</feed>
