<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/ast.c, branch misc-acks-comment</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>bpo-39080: Starred Expression's column offset fix when inside a CALL (GH-17645)</title>
<updated>2019-12-18T00:20:55+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2019-12-18T00:20:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=50d4f12958bf806a4e1a1021d70cfd5d448c5cba'/>
<id>50d4f12958bf806a4e1a1021d70cfd5d448c5cba</id>
<content type='text'>
Co-Authored-By: Pablo Galindo &lt;Pablogsal@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Authored-By: Pablo Galindo &lt;Pablogsal@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>The comment in ast_for_namedexpr shouldn't include if_stmt (GH-17586)</title>
<updated>2019-12-15T18:00:33+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2019-12-15T18:00:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b08d3f71beab59653edfbbcf7b92a7bc8050d6b8'/>
<id>b08d3f71beab59653edfbbcf7b92a7bc8050d6b8</id>
<content type='text'>
Automerge-Triggered-By: @gvanrossum</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automerge-Triggered-By: @gvanrossum</pre>
</div>
</content>
</entry>
<entry>
<title>Fix elif start column offset when there is an else following (GH-17596)</title>
<updated>2019-12-14T10:24:57+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2019-12-14T10:24:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5936a4ce914d42af97b9238e5090dedc8d5b0bd2'/>
<id>5936a4ce914d42af97b9238e5090dedc8d5b0bd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582)</title>
<updated>2019-12-12T21:40:21+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2019-12-12T21:40:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=025a602af7ee284d8db6955c26016f3f27d35536'/>
<id>025a602af7ee284d8db6955c26016f3f27d35536</id>
<content type='text'>
When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node.


https://bugs.python.org/issue39031



Automerge-Triggered-By: @pablogsal</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node.


https://bugs.python.org/issue39031



Automerge-Triggered-By: @pablogsal</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861)</title>
<updated>2019-10-26T13:46:05+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-26T13:46:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=26ae9f6d3d755734c9f371b9356325afe5764813'/>
<id>26ae9f6d3d755734c9f371b9356325afe5764813</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cut disused recode_encoding logic in _PyBytes_DecodeEscape. (GH-16013)</title>
<updated>2019-09-12T18:12:22+00:00</updated>
<author>
<name>Greg Price</name>
<email>gnprice@gmail.com</email>
</author>
<published>2019-09-12T18:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3a4f66707e824ef3a8384827590ebaa6ca463dc0'/>
<id>3a4f66707e824ef3a8384827590ebaa6ca463dc0</id>
<content type='text'>
All call sites pass NULL for `recode_encoding`, so this path is
completely untested.  That's been true since before Python 3.0.
It adds significant complexity to this logic, so it's best to
take it out.

All call sites now have a literal NULL, and that's been true since
commit 768921cf3 eliminated a conditional (`foo ? bar : NULL`) at
the call site in Python/ast.c where we're parsing a bytes literal.
But even before then, that condition `foo` had been a constant
since unadorned string literals started meaning Unicode, in commit
572dbf8f1 aka v3.0a1~1035 .

The `unicode` parameter is already unused, so mark it as unused too.
The code that acted on it was also taken out before Python 3.0, in
commit 8d30cc014 aka v3.0a1~1031 .

The function (PyBytes_DecodeEscape) is exposed in the API, but it's
never been documented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All call sites pass NULL for `recode_encoding`, so this path is
completely untested.  That's been true since before Python 3.0.
It adds significant complexity to this logic, so it's best to
take it out.

All call sites now have a literal NULL, and that's been true since
commit 768921cf3 eliminated a conditional (`foo ? bar : NULL`) at
the call site in Python/ast.c where we're parsing a bytes literal.
But even before then, that condition `foo` had been a constant
since unadorned string literals started meaning Unicode, in commit
572dbf8f1 aka v3.0a1~1035 .

The `unicode` parameter is already unused, so mark it as unused too.
The code that acted on it was also taken out before Python 3.0, in
commit 8d30cc014 aka v3.0a1~1031 .

The function (PyBytes_DecodeEscape) is exposed in the API, but it's
never been documented.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38138: Fix memory leak introduced by interned strings (GH-16053)</title>
<updated>2019-09-12T14:38:13+00:00</updated>
<author>
<name>Dino Viehland</name>
<email>dinoviehland@fb.com</email>
</author>
<published>2019-09-12T14:38:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8d88e8c662a80c186c7a0e67f1c1f3d4010276f8'/>
<id>8d88e8c662a80c186c7a0e67f1c1f3d4010276f8</id>
<content type='text'>
Interned string needs to be decref'd



https://bugs.python.org/issue38138



Automerge-Triggered-By: @matrixise</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Interned string needs to be decref'd



https://bugs.python.org/issue38138



Automerge-Triggered-By: @matrixise</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38113: Update Python/ast.c to PEP-384 (GH-15975)</title>
<updated>2019-09-11T15:47:16+00:00</updated>
<author>
<name>Dino Viehland</name>
<email>dinoviehland@fb.com</email>
</author>
<published>2019-09-11T15:47:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5b172c27f760dc5437e37dd8f1540eb76440e9a7'/>
<id>5b172c27f760dc5437e37dd8f1540eb76440e9a7</id>
<content type='text'>
Removes statics for better subinterpreter support and moves to _PyType_Name


https://bugs.python.org/issue38113



Automerge-Triggered-By: @tiran</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes statics for better subinterpreter support and moves to _PyType_Name


https://bugs.python.org/issue38113



Automerge-Triggered-By: @tiran</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos mostly in comments, docs and test names (GH-15209)</title>
<updated>2019-08-30T20:21:19+00:00</updated>
<author>
<name>Min ho Kim</name>
<email>minho42@gmail.com</email>
</author>
<published>2019-08-30T20:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=39d87b54715197ca9dcb6902bb43461c0ed701a2'/>
<id>39d87b54715197ca9dcb6902bb43461c0ed701a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32912: Revert SyntaxWarning on invalid escape sequences. (GH-15195)</title>
<updated>2019-08-10T07:19:07+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2019-08-10T07:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b4be87a04a2a8ccfd2480e19dc527589fce53555'/>
<id>b4be87a04a2a8ccfd2480e19dc527589fce53555</id>
<content type='text'>
DeprecationWarning will continue to be emitted for invalid escape
sequences in string and bytes literals just as it did in 3.7.

SyntaxWarning may be emitted in the future. But per mailing list
discussion, we don't yet know when because we haven't settled on how to
do so in a non-disruptive manner.

(Applies 4c5b6bac2408f879231c7cd38d67657dd4804e7c to the master branch).
(This is https://github.com/python/cpython/pull/15142 for master/3.9)


https://bugs.python.org/issue32912



Automerge-Triggered-By: @gpshead</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DeprecationWarning will continue to be emitted for invalid escape
sequences in string and bytes literals just as it did in 3.7.

SyntaxWarning may be emitted in the future. But per mailing list
discussion, we don't yet know when because we haven't settled on how to
do so in a non-disruptive manner.

(Applies 4c5b6bac2408f879231c7cd38d67657dd4804e7c to the master branch).
(This is https://github.com/python/cpython/pull/15142 for master/3.9)


https://bugs.python.org/issue32912



Automerge-Triggered-By: @gpshead</pre>
</div>
</content>
</entry>
</feed>
