<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/internal/pycore_symtable.h, branch 3.10</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/internal/pycore_symtable.h?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/internal/pycore_symtable.h?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2021-12-12T01:24:12Z</updated>
<entry>
<title>bpo-46042: Improve SyntaxError locations in the symbol table (GH-30059) (GH-30064)</title>
<updated>2021-12-12T01:24:12Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-12-12T01:24:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=438817fdd5b731d486285d205bed2e78b655c0d6'/>
<id>urn:sha1:438817fdd5b731d486285d205bed2e78b655c0d6</id>
<content type='text'>
(cherry picked from commit 59435eea08d30796174552c0ca03c59b41adf8a5)

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-42725: Render annotations effectless on symbol table with PEP 563 (GH-25583)</title>
<updated>2021-05-03T07:43:00Z</updated>
<author>
<name>Batuhan Taskaya</name>
<email>isidentical@gmail.com</email>
</author>
<published>2021-05-03T07:43:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad106c68eb00f5e4af2f937107baff6141948cee'/>
<id>urn:sha1:ad106c68eb00f5e4af2f937107baff6141948cee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-43892: Make match patterns explicit in the AST (GH-25585)</title>
<updated>2021-04-29T05:58:44Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2021-04-29T05:58:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e7b858575d0ad782939f86aae4a2fa1c29e9f14'/>
<id>urn:sha1:1e7b858575d0ad782939f86aae4a2fa1c29e9f14</id>
<content type='text'>
Co-authored-by: Brandt Bucher &lt;brandtbucher@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-43914: Highlight invalid ranges in SyntaxErrors (#25525)</title>
<updated>2021-04-23T13:27:05Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-23T13:27:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a77aac4fca9723b8fd52a832f3e9df13beb25113'/>
<id>urn:sha1:a77aac4fca9723b8fd52a832f3e9df13beb25113</id>
<content type='text'>
To improve the user experience understanding what part of the error messages associated with SyntaxErrors is wrong, we can highlight the whole error range and not only place the caret at the first character. In this way:

&gt;&gt;&gt; foo(x, z for z in range(10), t, w)
  File "&lt;stdin&gt;", line 1
    foo(x, z for z in range(10), t, w)
           ^
SyntaxError: Generator expression must be parenthesized

becomes

&gt;&gt;&gt; foo(x, z for z in range(10), t, w)
  File "&lt;stdin&gt;", line 1
    foo(x, z for z in range(10), t, w)
           ^^^^^^^^^^^^^^^^^^^^
SyntaxError: Generator expression must be parenthesized</content>
</entry>
<entry>
<title>bpo-43244: Remove ast.h, asdl.h, Python-ast.h headers (GH-24933)</title>
<updated>2021-03-23T19:47:40Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-03-23T19:47:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=94faa0724f8cbae6867c491c8e465e35f4fdbfbb'/>
<id>urn:sha1:94faa0724f8cbae6867c491c8e465e35f4fdbfbb</id>
<content type='text'>
These functions were undocumented and excluded from the limited C
API.

Most names defined by these header files were not prefixed by "Py"
and so could create names conflicts. For example, Python-ast.h
defined a "Yield" macro which was conflict with the "Yield" name used
by the Windows &lt;winbase.h&gt; header.

Use the Python ast module instead.

* Move Include/asdl.h to Include/internal/pycore_asdl.h.
* Move Include/Python-ast.h to Include/internal/pycore_ast.h.
* Remove ast.h header file.
* pycore_symtable.h no longer includes Python-ast.h.</content>
</entry>
<entry>
<title>bpo-43244: Remove symtable.h header file (GH-24910)</title>
<updated>2021-03-19T11:41:49Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-03-19T11:41:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=28ad12f8fe889a741661eb99daacebd9243cc1ba'/>
<id>urn:sha1:28ad12f8fe889a741661eb99daacebd9243cc1ba</id>
<content type='text'>
Rename Include/symtable.h to to Include/internal/pycore_symtable.h,
don't export symbols anymore (replace PyAPI_FUNC and PyAPI_DATA with
extern) and rename functions:

* PyST_GetScope() to _PyST_GetScope()
* PySymtable_BuildObject() to _PySymtable_Build()
* PySymtable_Free() to _PySymtable_Free()

Remove PySymtable_Build(), Py_SymtableString() and
Py_SymtableStringObject() functions.

The Py_SymtableString() function was part the stable ABI by mistake
but it could not be used, since the symtable.h header file was
excluded from the limited C API.

The Python symtable module remains available and is unchanged.</content>
</entry>
</feed>
