<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/asdl.h, branch fix-cf-feature-versiob</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-40528: Improve and clear several aspects of the ASDL definition code for the AST (GH-19952)</title>
<updated>2020-05-06T14:29:32+00:00</updated>
<author>
<name>Batuhan Taskaya</name>
<email>batuhanosmantaskaya@gmail.com</email>
</author>
<published>2020-05-06T14:29:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=091951a67c832db83c60f4eb22f1fb474b70e635'/>
<id>091951a67c832db83c60f4eb22f1fb474b70e635</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-21120: Exclude Python-ast.h, ast.h and asdl.h from the limited API (#14634)</title>
<updated>2019-09-12T09:27:14+00:00</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2019-09-12T09:27:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=421a72af4deaec96a49a79951b9c2546a2faa13d'/>
<id>421a72af4deaec96a49a79951b9c2546a2faa13d</id>
<content type='text'>
The PyArena type is not part of the limited API, so these headers
shouldn't be part of it either.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PyArena type is not part of the limited API, so these headers
shouldn't be part of it either.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-18407: ast.c uses Py_ssize_t for asdl_seq_LEN() iterator (GH-10655)</title>
<updated>2018-11-22T13:45:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-22T13:45:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4d73ae776140a583fdfe8f016d88cc767791e481'/>
<id>4d73ae776140a583fdfe8f016d88cc767791e481</id>
<content type='text'>
When iterating using asdl_seq_LEN(), use 'Py_ssize_t' type instead of
'int' for the iterator variable, to avoid downcast on 64-bit platforms.

_Py_asdl_int_seq_new() now also ensures that the index is greater than
or equal to 0.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When iterating using asdl_seq_LEN(), use 'Py_ssize_t' type instead of
'int' for the iterator variable, to avoid downcast on 64-bit platforms.

_Py_asdl_int_seq_new() now also ensures that the index is greater than
or equal to 0.</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://91.123.203.49/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>Fix compiler warning on Windows 64-bit: asdl_seq_SET() stores the index parameter</title>
<updated>2013-11-15T23:16:58+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-11-15T23:16:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=042cb465f667652df23c2e9d9ba347efeebba5a8'/>
<id>042cb465f667652df23c2e9d9ba347efeebba5a8</id>
<content type='text'>
into a Py_ssize_t, instead of an int
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
into a Py_ssize_t, instead of an int
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".</title>
<updated>2013-10-12T20:52:43+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2013-10-12T20:52:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d01d396e7f9db2b3c362fe48a07cd55420dce030'/>
<id>d01d396e7f9db2b3c362fe48a07cd55420dce030</id>
<content type='text'>
("make smelly" now clean)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
("make smelly" now clean)
</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://91.123.203.49/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>
<entry>
<title>Widen ASDL sequences to Py_ssize_t lengths to better match PEP 353.</title>
<updated>2012-05-15T12:45:03+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2012-05-15T12:45:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=cc10a37ef0e05906c0f1c93bea646f3521b84a76'/>
<id>cc10a37ef0e05906c0f1c93bea646f3521b84a76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add a asdl bytes type, so Bytes.s be properly typechecked</title>
<updated>2011-08-09T21:08:39+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2011-08-09T21:08:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e2498419034eade424fa744e1505980e64ba759b'/>
<id>e2498419034eade424fa744e1505980e64ba759b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Whoops, fix build breakage.  There were still a few uses of the bool type.</title>
<updated>2007-02-26T19:14:12+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2007-02-26T19:14:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6baa4c4cc6d303bfdac7c6fd21371f3bc48c7e06'/>
<id>6baa4c4cc6d303bfdac7c6fd21371f3bc48c7e06</id>
<content type='text'>
Remove the last few uses of bool/true/false.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the last few uses of bool/true/false.
</pre>
</div>
</content>
</entry>
</feed>
