<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Parser/asdl.py, branch fix-namedexpr-comment</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>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 #22823: Use set literals instead of creating a set from a list</title>
<updated>2014-11-09T23:56:33+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2014-11-09T23:56:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=df1b69944796caa6854049caf624d32c408c27d5'/>
<id>df1b69944796caa6854049caf624d32c408c27d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bootstrapping asdl -- it didn't work with Python 2.7.</title>
<updated>2014-07-08T23:22:48+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@dropbox.com</email>
</author>
<published>2014-07-08T23:22:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=416b516d46d91316b22c2651a47ad3d7613834a4'/>
<id>416b516d46d91316b22c2651a47ad3d7613834a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19655: Replace the ASDL parser carried with CPython</title>
<updated>2014-05-10T00:58:22+00:00</updated>
<author>
<name>Eli Bendersky</name>
<email>eliben@gmail.com</email>
</author>
<published>2014-05-10T00:58:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5e3d338a741682e82adbb8c6978bf157b9d0d884'/>
<id>5e3d338a741682e82adbb8c6978bf157b9d0d884</id>
<content type='text'>
The new parser does not rely on Spark (which is now removed from our repo),
uses modern 3.x idioms and is significantly smaller and simpler.

It generates exactly the same AST files (.h and .c), so in practice no builds
should be affected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new parser does not rely on Spark (which is now removed from our repo),
uses modern 3.x idioms and is significantly smaller and simpler.

It generates exactly the same AST files (.h and .c), so in practice no builds
should be affected.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move open outside try/finally</title>
<updated>2013-09-26T16:35:39+00:00</updated>
<author>
<name>Eli Bendersky</name>
<email>eliben@gmail.com</email>
</author>
<published>2013-09-26T16:35:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1891cff587b348faea027e8836e5e6c30e19213c'/>
<id>1891cff587b348faea027e8836e5e6c30e19213c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use fancy new Python features like 'with' - some bots don't have them</title>
<updated>2013-09-26T13:41:36+00:00</updated>
<author>
<name>Eli Bendersky</name>
<email>eliben@gmail.com</email>
</author>
<published>2013-09-26T13:41:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=99081238e91261c74a1534988e250235f72d8d0f'/>
<id>99081238e91261c74a1534988e250235f72d8d0f</id>
<content type='text'>
and can't bootstrap the parser.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and can't bootstrap the parser.
</pre>
</div>
</content>
</entry>
<entry>
<title>Normalize whitespace</title>
<updated>2013-09-26T13:32:22+00:00</updated>
<author>
<name>Eli Bendersky</name>
<email>eliben@gmail.com</email>
</author>
<published>2013-09-26T13:32:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=58fe1b1307141c96ac4657e336431f73e5f1d92f'/>
<id>58fe1b1307141c96ac4657e336431f73e5f1d92f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Small fixes in Parser/asdl.py - no change in functionality.</title>
<updated>2013-09-26T13:31:32+00:00</updated>
<author>
<name>Eli Bendersky</name>
<email>eliben@gmail.com</email>
</author>
<published>2013-09-26T13:31:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b788a385cd0fa71ba068a16c237e220a03862dc7'/>
<id>b788a385cd0fa71ba068a16c237e220a03862dc7</id>
<content type='text'>
1. Make it work when invoked directly from the command-line. It was failing
   due to a couple of stale function/class usages in the __main__ section.
2. Close the parsed file in the parse() function after opening it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Make it work when invoked directly from the command-line. It was failing
   due to a couple of stale function/class usages in the __main__ section.
2. Close the parsed file in the parse() function after opening it.
</pre>
</div>
</content>
</entry>
<entry>
<title>unify some ast.argument's attrs; change Attribute column offset (closes #16795)</title>
<updated>2013-03-18T17:48:58+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2013-03-18T17:48:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cda75be02a79686a8e634576600814271536bc1a'/>
<id>cda75be02a79686a8e634576600814271536bc1a</id>
<content type='text'>
Patch from Sven Brauch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch from Sven Brauch.
</pre>
</div>
</content>
</entry>
<entry>
<title>create NameConstant AST class for None, True, and False literals (closes #16619)</title>
<updated>2012-12-06T22:41:04+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2012-12-06T22:41:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=442f20996dcd994d1024e5cad7f66a4595352eb2'/>
<id>442f20996dcd994d1024e5cad7f66a4595352eb2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
