<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/ast_opt.c, branch enum-lost-fixes</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-43892: Validate the first term of complex literal value patterns (GH-25735)</title>
<updated>2021-04-30T00:19:28+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandt@python.org</email>
</author>
<published>2021-04-30T00:19:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=dbe60ee09dc5a624cfb78dff61ecf050a5b3f105'/>
<id>dbe60ee09dc5a624cfb78dff61ecf050a5b3f105</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43892: Make match patterns explicit in the AST (GH-25585)</title>
<updated>2021-04-29T05:58:44+00:00</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2021-04-29T05:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1e7b858575d0ad782939f86aae4a2fa1c29e9f14'/>
<id>1e7b858575d0ad782939f86aae4a2fa1c29e9f14</id>
<content type='text'>
Co-authored-by: Brandt Bucher &lt;brandtbucher@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Brandt Bucher &lt;brandtbucher@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42609: Check recursion depth in the AST validator and optimizer (GH-23744)</title>
<updated>2021-04-25T10:38:00+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2021-04-25T10:38:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=face87c94e67ad9c72b9a3724f112fd76c1002b9'/>
<id>face87c94e67ad9c72b9a3724f112fd76c1002b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490)</title>
<updated>2021-04-21T11:41:19+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-21T11:41:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b0544ba77cf86074fb1adde00558c67ca75eeea1'/>
<id>b0544ba77cf86074fb1adde00558c67ca75eeea1</id>
<content type='text'>
This reverts commits 044a1048ca93d466965afc027b91a5a9eb9ce23c and 1be456ae9d53bb1cba2b24fc86175c282d1c2169, adapting the code to changes that happened after it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commits 044a1048ca93d466965afc027b91a5a9eb9ce23c and 1be456ae9d53bb1cba2b24fc86175c282d1c2169, adapting the code to changes that happened after it.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43244: Rename pycore_ast.h functions to _PyAST_xxx() (GH-25252)</title>
<updated>2021-04-07T19:34:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-07T19:34:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d27f8d2e07d31670af469ef387a37bc9e96ea8ad'/>
<id>d27f8d2e07d31670af469ef387a37bc9e96ea8ad</id>
<content type='text'>
Rename AST functions of pycore_ast.h to use the "_PyAST_" prefix.
Remove macros creating aliases without prefix. For example, Module()
becomes _PyAST_Module(). Update Grammar/python.gram to use
_PyAST_xxx() functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename AST functions of pycore_ast.h to use the "_PyAST_" prefix.
Remove macros creating aliases without prefix. For example, Module()
becomes _PyAST_Module(). Update Grammar/python.gram to use
_PyAST_xxx() functions.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43244: Remove Yield macro from pycore_ast.h (GH-25243)</title>
<updated>2021-04-07T11:01:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-07T11:01:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d36d6a9c1808e87628ebaa855d4bec80130189f4'/>
<id>d36d6a9c1808e87628ebaa855d4bec80130189f4</id>
<content type='text'>
* pycore_ast.h no longer defines the Yield macro.
* Fix a compiler warning on Windows: "warning C4005: 'Yield': macro
  redefinition".
* Python-ast.c now defines directly functions with their real
  _Py_xxx() name, rather than xxx().
* Remove "#undef Yield" in C files including pycore_ast.h.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* pycore_ast.h no longer defines the Yield macro.
* Fix a compiler warning on Windows: "warning C4005: 'Yield': macro
  redefinition".
* Python-ast.c now defines directly functions with their real
  _Py_xxx() name, rather than xxx().
* Remove "#undef Yield" in C files including pycore_ast.h.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43244: Remove the pyarena.h header (GH-25007)</title>
<updated>2021-03-24T01:23:01+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-03-24T01:23:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8370e07e1e5b626e78ddc7aadbfaf248976c4454'/>
<id>8370e07e1e5b626e78ddc7aadbfaf248976c4454</id>
<content type='text'>
Remove the pyarena.h header file with functions:

* PyArena_New()
* PyArena_Free()
* PyArena_Malloc()
* PyArena_AddPyObject()

These functions were undocumented, excluded from the limited C API,
and were only used internally by the compiler.

Add pycore_pyarena.h header. Rename functions:

* PyArena_New() =&gt; _PyArena_New()
* PyArena_Free() =&gt; _PyArena_Free()
* PyArena_Malloc() =&gt; _PyArena_Malloc()
* PyArena_AddPyObject() =&gt; _PyArena_AddPyObject()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the pyarena.h header file with functions:

* PyArena_New()
* PyArena_Free()
* PyArena_Malloc()
* PyArena_AddPyObject()

These functions were undocumented, excluded from the limited C API,
and were only used internally by the compiler.

Add pycore_pyarena.h header. Rename functions:

* PyArena_New() =&gt; _PyArena_New()
* PyArena_Free() =&gt; _PyArena_Free()
* PyArena_Malloc() =&gt; _PyArena_Malloc()
* PyArena_AddPyObject() =&gt; _PyArena_AddPyObject()</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43244: Add pycore_compile.h header file (GH-25000)</title>
<updated>2021-03-23T23:51:50+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-03-23T23:51:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a81fca6ec8e0f748f8eafa12fb12cf9e12df465c'/>
<id>a81fca6ec8e0f748f8eafa12fb12cf9e12df465c</id>
<content type='text'>
Remove the compiler functions using "struct _mod" type, because the
public AST C API was removed:

* PyAST_Compile()
* PyAST_CompileEx()
* PyAST_CompileObject()
* PyFuture_FromAST()
* PyFuture_FromASTObject()

These functions were undocumented and excluded from the limited C API.

Rename functions:

* PyAST_CompileObject() =&gt; _PyAST_Compile()
* PyFuture_FromASTObject() =&gt; _PyFuture_FromAST()

Moreover, _PyFuture_FromAST() is no longer exported (replace
PyAPI_FUNC() with extern). _PyAST_Compile() remains exported for
test_peg_generator.

Remove also compatibility functions:

* PyAST_Compile()
* PyAST_CompileEx()
* PyFuture_FromAST()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the compiler functions using "struct _mod" type, because the
public AST C API was removed:

* PyAST_Compile()
* PyAST_CompileEx()
* PyAST_CompileObject()
* PyFuture_FromAST()
* PyFuture_FromASTObject()

These functions were undocumented and excluded from the limited C API.

Rename functions:

* PyAST_CompileObject() =&gt; _PyAST_Compile()
* PyFuture_FromASTObject() =&gt; _PyFuture_FromAST()

Moreover, _PyFuture_FromAST() is no longer exported (replace
PyAPI_FUNC() with extern). _PyAST_Compile() remains exported for
test_peg_generator.

Remove also compatibility functions:

* PyAST_Compile()
* PyAST_CompileEx()
* PyFuture_FromAST()</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43244: Add pycore_ast.h header file (GH-24908)</title>
<updated>2021-03-17T22:50:50+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-03-17T22:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=526fdeb2278b61653df704d7cfcaedde504dee48'/>
<id>526fdeb2278b61653df704d7cfcaedde504dee48</id>
<content type='text'>
Move _PyAST_GetDocString() and _PyAST_ExprAsUnicode() functions the
internal C API: from Include/ast.h to a new
Include/internal/pycore_ast.h header file. Don't export these
functions anymore: replace PyAPI_FUNC() with extern.

Remove also unused includes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move _PyAST_GetDocString() and _PyAST_ExprAsUnicode() functions the
internal C API: from Include/ast.h to a new
Include/internal/pycore_ast.h header file. Don't export these
functions anymore: replace PyAPI_FUNC() with extern.

Remove also unused includes.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)</title>
<updated>2021-02-26T22:51:55+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@gmail.com</email>
</author>
<published>2021-02-26T22:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=145bf269df3530176f6ebeab1324890ef7070bf8'/>
<id>145bf269df3530176f6ebeab1324890ef7070bf8</id>
<content type='text'>
Co-authored-by: Guido van Rossum &lt;guido@python.org&gt;
Co-authored-by: Talin &lt;viridia@gmail.com&gt;
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: Guido van Rossum &lt;guido@python.org&gt;
Co-authored-by: Talin &lt;viridia@gmail.com&gt;
Co-authored-by: Pablo Galindo &lt;pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
