<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Parser/asdl_c.py, branch v3.7.0a2</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-31536: Avoid wholesale rebuild after `make regen-all` (#3678)</title>
<updated>2017-09-20T21:57:56+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-09-20T21:57:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b091bec824137f286b22084be5f8d397d21b9abb'/>
<id>b091bec824137f286b22084be5f8d397d21b9abb</id>
<content type='text'>
* bpo-31536: Avoid wholesale rebuild after `make regen-all`

* Add NEWS
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-31536: Avoid wholesale rebuild after `make regen-all`

* Add NEWS
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31464: asdl_c.py no longer emits trailing spaces in Python-ast.h. (#3568)</title>
<updated>2017-09-15T03:28:22+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-09-15T03:28:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5d84cb368c0c3e475c25171c302068c4dfc3e396'/>
<id>5d84cb368c0c3e475c25171c302068c4dfc3e396</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31095: fix potential crash during GC (GH-2974)</title>
<updated>2017-08-24T05:55:17+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2017-08-24T05:55:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a6296d34a478b4f697ea9db798146195075d496c'/>
<id>a6296d34a478b4f697ea9db798146195075d496c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a shadow-compatible-local warning (#2180)</title>
<updated>2017-08-04T17:53:12+00:00</updated>
<author>
<name>Yuan Chao Chou</name>
<email>oswinchou@gmail.com</email>
</author>
<published>2017-08-04T17:53:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2af565baf498f389105ff71e4ae054c66fe5d55f'/>
<id>2af565baf498f389105ff71e4ae054c66fe5d55f</id>
<content type='text'>
Change the shadowing naming, 'value' (Python-ast.c:4652), to 'val'
to prevent the variables from being misused.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the shadowing naming, 'value' (Python-ast.c:4652), to 'val'
to prevent the variables from being misused.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29622: Make AST constructor to accept less than enough number of positional arguments (GH-249)</title>
<updated>2017-02-23T17:48:17+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2017-02-23T17:48:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4c78c527d215c37472145152cb0e95f196cdddc9'/>
<id>4c78c527d215c37472145152cb0e95f196cdddc9</id>
<content type='text'>
bpo-29463 added optional "docstring" field to 4 AST types.
While it is optional, it breaks backward compatibility because AST constructor
requires number of positional argument is same to number of fields.

AST types accepts empty arguments, and incomplete keyword arguments.
But it's not big problem because field can be filled after creation, and checked when compiling.
So stop requiring complete set of fields for positional arguments too.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-29463 added optional "docstring" field to 4 AST types.
While it is optional, it breaks backward compatibility because AST constructor
requires number of positional argument is same to number of fields.

AST types accepts empty arguments, and incomplete keyword arguments.
But it's not big problem because field can be filled after creation, and checked when compiling.
So stop requiring complete set of fields for positional arguments too.</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29369: Use Py_IDENTIFIER in Python-ast.c</title>
<updated>2017-01-25T13:33:43+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2017-01-25T13:33:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fc489082c89f3de9dc976b4b54cac56bcdac6a10'/>
<id>fc489082c89f3de9dc976b4b54cac56bcdac6a10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #24098: Fixed possible crash when AST is changed in process of</title>
<updated>2016-10-07T18:55:49+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-07T18:55:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5e80855af3537f9715b33539d5b9860ca533a288'/>
<id>5e80855af3537f9715b33539d5b9860ca533a288</id>
<content type='text'>
compiling it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compiling it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #24098: Fixed possible crash when AST is changed in process of</title>
<updated>2016-10-07T18:51:28+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-07T18:51:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cf3806026b4f9784f97fce168695c3b4a6bbd8a5'/>
<id>cf3806026b4f9784f97fce168695c3b4a6bbd8a5</id>
<content type='text'>
compiling it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compiling it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26146: remove useless code</title>
<updated>2016-01-26T23:37:59+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-01-26T23:37:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=25219f596a069e8d4ed7114cd9b1bddc2a1de3b7'/>
<id>25219f596a069e8d4ed7114cd9b1bddc2a1de3b7</id>
<content type='text'>
obj2ast_constant() code is baesd on obj2ast_object() which has a special case
for Py_None. But in practice, we don't need to have a special case for
constants.

Issue noticed by Joseph Jevnik on a review.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
obj2ast_constant() code is baesd on obj2ast_object() which has a special case
for Py_None. But in practice, we don't need to have a special case for
constants.

Issue noticed by Joseph Jevnik on a review.
</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>
</feed>
