<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/ast.py, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/ast.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/ast.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-10-21T16:20:56Z</updated>
<entry>
<title>[3.8] bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340) (GH-22857)</title>
<updated>2020-10-21T16:20:56Z</updated>
<author>
<name>Irit Katriel</name>
<email>iritkatriel@yahoo.com</email>
</author>
<published>2020-10-21T16:20:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f3982d666c1df290373a4810edd501b2176b45c7'/>
<id>urn:sha1:f3982d666c1df290373a4810edd501b2176b45c7</id>
<content type='text'>
Automerge-Triggered-By: GH:zware</content>
</entry>
<entry>
<title>[3.8] bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-21745)</title>
<updated>2020-08-05T18:37:19Z</updated>
<author>
<name>Batuhan Taskaya</name>
<email>batuhanosmantaskaya@gmail.com</email>
</author>
<published>2020-08-05T18:37:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b24c9d2b0656764bef48120d9511faf833bd7ead'/>
<id>urn:sha1:b24c9d2b0656764bef48120d9511faf833bd7ead</id>
<content type='text'>
…no (GH-20312).

(cherry picked from commit 8f4380d2f5839a321475104765221a7394a9d649)

Co-authored-by: Batuhan Taskaya &lt;batuhanosmantaskaya@gmail.com&gt;

Automerge-Triggered-By: @pablogsal</content>
</entry>
<entry>
<title>bpo-36290: Fix keytword collision handling in AST node constructors (GH-12382)</title>
<updated>2020-05-24T21:31:47Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-05-24T21:31:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=907ee1f14aaf587683ced44818c5a1d1cabf4174'/>
<id>urn:sha1:907ee1f14aaf587683ced44818c5a1d1cabf4174</id>
<content type='text'>
(cherry picked from commit c73914a562580ae72048876cb42ed8e76e2c83f9)

Co-authored-by: Rémi Lapeyre &lt;remi.lapeyre@lenstra.fr&gt;</content>
</entry>
<entry>
<title>bpo-40355: Improve error messages in ast.literal_eval with malformed Dict nodes (GH-19868)</title>
<updated>2020-05-05T20:00:57Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-05-05T20:00:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2a3b876b0286b22a9058510d9e51dc4d60eeb89a'/>
<id>urn:sha1:2a3b876b0286b22a9058510d9e51dc4d60eeb89a</id>
<content type='text'>
Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;
(cherry picked from commit c21c51235aa8061da6b0593d6f857f42fd92fd8b)

Co-authored-by: Curtis Bucher &lt;cpbucher5@gmail.com&gt;</content>
</entry>
<entry>
<title>Fix syntax error in an example in the ast documentation and sync docstrings (GH-18946)</title>
<updated>2020-03-12T01:06:53Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-12T01:06:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=99ef1ac9a7793dcdf624d2400e51ed34eb8d0af3'/>
<id>urn:sha1:99ef1ac9a7793dcdf624d2400e51ed34eb8d0af3</id>
<content type='text'>
(cherry picked from commit c00c86b90443dbf3534cc4786a0b42b58db6e8af)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510) (GH-15582)</title>
<updated>2019-08-29T07:50:28Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-08-29T07:50:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=097eae5b9b4801d34bb900c01b5e6a80f028bc12'/>
<id>urn:sha1:097eae5b9b4801d34bb900c01b5e6a80f028bc12</id>
<content type='text'>
(cherry picked from commit e64f948e762a6b9fd02e2902ccf42438df6fcb61)
</content>
</entry>
<entry>
<title>[3.8] bpo-36917: Add default implementation of ast.NodeVisitor.visit_Constant(). (GH-15490) (GH-15509)</title>
<updated>2019-08-26T07:43:33Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-26T07:43:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=522a394a72f107ca55701371529b5e4ed20c9fff'/>
<id>urn:sha1:522a394a72f107ca55701371529b5e4ed20c9fff</id>
<content type='text'>
It emits a deprecation warning and calls corresponding method
visit_Num(), visit_Str(), etc.
(cherry picked from commit c3ea41e9bf100a5396b851488c3efe208e5e2179)
</content>
</entry>
<entry>
<title>bpo-35766: compile(): rename feature_version parameter (GH-13994) (GH-14001)</title>
<updated>2019-06-12T14:17:05Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-12T14:17:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b2fd32b2f041402bb9fc8607f01566c055aafed9'/>
<id>urn:sha1:b2fd32b2f041402bb9fc8607f01566c055aafed9</id>
<content type='text'>
Rename compile() feature_version parameter to _feature_version and
convert it to a keyword-only parameter.

Update also test_type_comments to pass feature_version as a tuple.

(cherry picked from commit efdf6ca90f7702824e7aeee1ceca949e7c20288a)</content>
</entry>
<entry>
<title>bpo-35766: Change format for feature_version to (major, minor) (GH-13992) (GH-13993)</title>
<updated>2019-06-12T00:55:28Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-12T00:55:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3ba21070c6ecab83c23cea41a92b42fa651c7ea2'/>
<id>urn:sha1:3ba21070c6ecab83c23cea41a92b42fa651c7ea2</id>
<content type='text'>
(A single int is still allowed, but undocumented.)

https://bugs.python.org/issue35766
(cherry picked from commit 10b55c1643b512b3a2cae8ab89c53683a13ca43e)

Co-authored-by: Guido van Rossum &lt;guido@python.org&gt;</content>
</entry>
<entry>
<title>bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086)</title>
<updated>2019-03-07T20:38:08Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2019-03-07T20:38:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=495da292255b92dd73758fdd0e4c7d27d82b1e57'/>
<id>urn:sha1:495da292255b92dd73758fdd0e4c7d27d82b1e57</id>
<content type='text'>
This adds a `feature_version` flag to `ast.parse()` (documented) and `compile()` (hidden) that allow tweaking the parser to support older versions of the grammar. In particular if `feature_version` is 5 or 6, the hacks for the `async` and `await` keyword from PEP 492 are reinstated. (For 7 or higher, these are unconditionally treated as keywords, but they are still special tokens rather than `NAME` tokens that the parser driver recognizes.)



https://bugs.python.org/issue35975</content>
</entry>
</feed>
