<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Tools/parser, branch benjamin-pyapi</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-32911: Revert bpo-29463. (GH-7121) (GH-7197)</title>
<updated>2018-05-29T09:04:55+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-05-29T09:04:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=73cbe7a01a22d02dbe1ec841e8779c775cad3d08'/>
<id>73cbe7a01a22d02dbe1ec841e8779c775cad3d08</id>
<content type='text'>
Remove the docstring attribute of AST types and restore docstring
expression as a first stmt in their body.

Co-authored-by: INADA Naoki &lt;methane@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the docstring attribute of AST types and restore docstring
expression as a first stmt in their body.

Co-authored-by: INADA Naoki &lt;methane@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29463: Add docstring field to some AST nodes. (#46)</title>
<updated>2017-02-22T15:31:59+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2017-02-22T15:31:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cb41b2766de646435743b6af7dd152751b54e73f'/>
<id>cb41b2766de646435743b6af7dd152751b54e73f</id>
<content type='text'>
* bpo-29463: Add docstring field to some AST nodes.

ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring
field for now.  It was first statement of there body.

* fix document.  thanks travis!

* doc fixes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-29463: Add docstring field to some AST nodes.

ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring
field for now.  It was first statement of there body.

* fix document.  thanks travis!

* doc fixes
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28008: Fix test_unparse</title>
<updated>2016-09-09T18:48:39+00:00</updated>
<author>
<name>Yury Selivanov</name>
<email>yury@magic.io</email>
</author>
<published>2016-09-09T18:48:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bf04b0698b91df3c7ceb4f712956b84614bb5c53'/>
<id>bf04b0698b91df3c7ceb4f712956b84614bb5c53</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28038: Remove Tools/parser/com2ann.py and its unit test.</title>
<updated>2016-09-09T16:06:11+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@dropbox.com</email>
</author>
<published>2016-09-09T16:06:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=deed5a18ca1e71baf96ba51c56f5790b9a0c44f6'/>
<id>deed5a18ca1e71baf96ba51c56f5790b9a0c44f6</id>
<content type='text'>
Development is moving to https://github.com/ilevkivskyi/com2ann
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Development is moving to https://github.com/ilevkivskyi/com2ann
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27364: Raw strings to avoid deprecated escaping in com2ann.py</title>
<updated>2016-09-09T07:38:50+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-09-09T07:38:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e13370b3e38c0714d3093d1235c6077bc6f62296'/>
<id>e13370b3e38c0714d3093d1235c6077bc6f62296</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.</title>
<updated>2016-09-09T03:50:03+00:00</updated>
<author>
<name>Yury Selivanov</name>
<email>yury@magic.io</email>
</author>
<published>2016-09-09T03:50:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f8cb8a16a344ab208fd46876c4b63604987347b8'/>
<id>f8cb8a16a344ab208fd46876c4b63604987347b8</id>
<content type='text'>
Patch by Ivan Levkivskyi.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Ivan Levkivskyi.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py</title>
<updated>2016-03-06T14:50:44+00:00</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-03-06T14:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d07a1cb53b3d5b3b68b92207f308b6bfb9235a33'/>
<id>d07a1cb53b3d5b3b68b92207f308b6bfb9235a33</id>
<content type='text'>
Patch by Guo Ci Teo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Guo Ci Teo.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py</title>
<updated>2016-03-06T14:50:15+00:00</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-03-06T14:50:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d66dd5ce68cbf4a33c385439d5eeb2bff4e860f1'/>
<id>d66dd5ce68cbf4a33c385439d5eeb2bff4e860f1</id>
<content type='text'>
Patch by Guo Ci Teo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Guo Ci Teo.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ast.Constant</title>
<updated>2016-01-25T23:40:57+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-01-25T23:40:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f2c1aa1661edb3e14ff8b7b9995f93e303c8acbb'/>
<id>f2c1aa1661edb3e14ff8b7b9995f93e303c8acbb</id>
<content type='text'>
Issue #26146: Add a new kind of AST node: ast.Constant. It can be used by
external AST optimizers, but the compiler does not emit directly such node.

An optimizer can replace the following AST nodes with ast.Constant:

* ast.NameConstant: None, False, True
* ast.Num: int, float, complex
* ast.Str: str
* ast.Bytes: bytes
* ast.Tuple if items are constants too: tuple
* frozenset

Update code to accept ast.Constant instead of ast.Num and/or ast.Str:

* compiler
* docstrings
* ast.literal_eval()
* Tools/parser/unparse.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #26146: Add a new kind of AST node: ast.Constant. It can be used by
external AST optimizers, but the compiler does not emit directly such node.

An optimizer can replace the following AST nodes with ast.Constant:

* ast.NameConstant: None, False, True
* ast.Num: int, float, complex
* ast.Str: str
* ast.Bytes: bytes
* ast.Tuple if items are constants too: tuple
* frozenset

Update code to accept ast.Constant instead of ast.Num and/or ast.Str:

* compiler
* docstrings
* ast.literal_eval()
* Tools/parser/unparse.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter.</title>
<updated>2015-09-20T19:09:15+00:00</updated>
<author>
<name>Eric V. Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2015-09-20T19:09:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=608adf9c827a14795c21a14aef98b90a94eac287'/>
<id>608adf9c827a14795c21a14aef98b90a94eac287</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
