<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python, branch benjamin-eval-loop-edit</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-34673: Tweaks to make ceval more editable.</title>
<updated>2018-09-14T04:18:58+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-12T17:19:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a82218d56095704ae49c549f9e15df4e81de88ad'/>
<id>a82218d56095704ae49c549f9e15df4e81de88ad</id>
<content type='text'>
Two major changes:
- Move case statements out of the TARGET macro.
- Move PREDICT macro invocations after the case label.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two major changes:
- Move case statements out of the TARGET macro.
- Move PREDICT macro invocations after the case label.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34653: Removed unused function PyParser_SimpleParseStringFilename. (GH-9260)</title>
<updated>2018-09-13T16:34:55+00:00</updated>
<author>
<name>Eric V. Smith</name>
<email>ericvsmith@users.noreply.github.com</email>
</author>
<published>2018-09-13T16:34:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=53c427e839d3e55d4791dca687a2d47534465a7a'/>
<id>53c427e839d3e55d4791dca687a2d47534465a7a</id>
<content type='text'>
This function was not in any .h file and was not used by Python, so removing it is safe.


https://bugs.python.org/issue34653</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function was not in any .h file and was not used by Python, so removing it is safe.


https://bugs.python.org/issue34653</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-34641: Further restrict the LHS of keyword argument function call syntax. (GH-9212)</title>
<updated>2018-09-13T00:14:39+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-13T00:14:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c9a71dd223c4ad200a97aa320aef6bd3d45f8897'/>
<id>c9a71dd223c4ad200a97aa320aef6bd3d45f8897</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)</title>
<updated>2018-09-12T19:06:42+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-12T19:06:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e5024517811ee990b770fca0ba7058742d00e032'/>
<id>e5024517811ee990b770fca0ba7058742d00e032</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34637: Make the *start* argument for *sum()* visible as a keyword argument. (GH-9208)</title>
<updated>2018-09-12T17:54:06+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2018-09-12T17:54:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9dfa0fe587eae3626ffc973680c6a17f35de3864'/>
<id>9dfa0fe587eae3626ffc973680c6a17f35de3864</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure the line comes from the same node as the col offset. (GH-9189)</title>
<updated>2018-09-11T22:29:57+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-11T22:29:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d13e59c1b512069d90efe7ee9b613d3913e79c56'/>
<id>d13e59c1b512069d90efe7ee9b613d3913e79c56</id>
<content type='text'>
Followup to 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b.

&lt;!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.

# Pull Request title

It should be in the following format:

```
bpo-NNNN: Summary of the changes made
```

Where: bpo-NNNN refers to the issue number in the https://bugs.python.org.

Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue.

# Backport Pull Request title

If this is a backport PR (PR made against branches other than `master`),
please ensure that the PR title is in the following format:

```
[X.Y] &lt;title from the original PR&gt; (GH-NNNN)
```

Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from `master`.

--&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Followup to 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b.

&lt;!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.

# Pull Request title

It should be in the following format:

```
bpo-NNNN: Summary of the changes made
```

Where: bpo-NNNN refers to the issue number in the https://bugs.python.org.

Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue.

# Backport Pull Request title

If this is a backport PR (PR made against branches other than `master`),
please ensure that the PR title is in the following format:

```
[X.Y] &lt;title from the original PR&gt; (GH-NNNN)
```

Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from `master`.

--&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize a variable to make the compiler happy. (GH-9153)</title>
<updated>2018-09-11T22:11:06+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-11T22:11:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=acd282fd5b3ca4de302b33c9361dbc433593c4ca'/>
<id>acd282fd5b3ca4de302b33c9361dbc433593c4ca</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>closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the "async" keyword. (GH-4175)</title>
<updated>2018-09-11T21:45:45+00:00</updated>
<author>
<name>guoci</name>
<email>zguoci@gmail.com</email>
</author>
<published>2018-09-11T21:45:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=90fc8980bbcc5c7dcced3627fe172b0bfd193a3b'/>
<id>90fc8980bbcc5c7dcced3627fe172b0bfd193a3b</id>
<content type='text'>
Previously, col_offset points to the keyword after "async".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, col_offset points to the keyword after "async".
</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>_Py_CoerceLegacyLocale() restores LC_CTYPE on fail (GH-9044)</title>
<updated>2018-09-03T15:05:18+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-09-03T15:05:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8ea09110d413829f71d979d8c7073008cb87fb03'/>
<id>8ea09110d413829f71d979d8c7073008cb87fb03</id>
<content type='text'>
bpo-34544: If _Py_CoerceLegacyLocale() fails to coerce the C locale,
restore the LC_CTYPE locale to the its previous value.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-34544: If _Py_CoerceLegacyLocale() fails to coerce the C locale,
restore the LC_CTYPE locale to the its previous value.</pre>
</div>
</content>
</entry>
</feed>
