<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_ast.py, branch 3.7</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_ast.py?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_ast.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-09-06T05:24:36Z</updated>
<entry>
<title>[3.7] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (GH-96504)</title>
<updated>2022-09-06T05:24:36Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2022-09-06T05:24:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2'/>
<id>urn:sha1:15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2</id>
<content type='text'>
Converting between `int` and `str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now
raises a `ValueError` if the number of digits in string form is above a
limit to avoid potential denial of service attacks due to the algorithmic
complexity. This is a mitigation for CVE-2020-10735
(https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735).

This new limit can be configured or disabled by environment variable, command
line flag, or :mod:`sys` APIs. See the `Integer String Conversion Length
Limitation` documentation.  The default limit is 4300
digits in string form.

Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with feedback
from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and Mark Dickinson.</content>
</entry>
<entry>
<title>[3.7] Fix elif start column offset when there is an else following (GH-17596) (GH-17601)</title>
<updated>2019-12-14T10:55:00Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-12-14T10:55:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b75466f5a539021217cff18bc248c1593cee262'/>
<id>urn:sha1:4b75466f5a539021217cff18bc248c1593cee262</id>
<content type='text'>
(cherry picked from commit 5936a4ce914d42af97b9238e5090dedc8d5b0bd2)

Co-authored-by: Lysandros Nikolaou &lt;lisandrosnik@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.7] bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) (#17584)</title>
<updated>2019-12-13T14:04:14Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-12-13T14:04:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0ed45d0cbfc7579dfc5527c19aa6e4bb696db2e0'/>
<id>urn:sha1:0ed45d0cbfc7579dfc5527c19aa6e4bb696db2e0</id>
<content type='text'>
When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node.

https://bugs.python.org/issue39031

Automerge-Triggered-By: @pablogsal.
(cherry picked from commit 025a602af7ee284d8db6955c26016f3f27d35536)

Co-authored-by: Lysandros Nikolaou &lt;lisandrosnik@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.7] bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861). (GH-16930)</title>
<updated>2019-10-26T14:30:14Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-26T14:30:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91fc9cf43cc2e3a2f236ef9944cf1f4bed701545'/>
<id>urn:sha1:91fc9cf43cc2e3a2f236ef9944cf1f4bed701545</id>
<content type='text'>
(cherry picked from commit 26ae9f6d3d755734c9f371b9356325afe5764813)
</content>
</entry>
<entry>
<title>bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510)</title>
<updated>2019-08-29T07:04:44Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-29T07:04:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d3d2650cf84e6be0f84d6d0d538999d1e0cfdd43'/>
<id>urn:sha1:d3d2650cf84e6be0f84d6d0d538999d1e0cfdd43</id>
<content type='text'>
(cherry picked from commit e64f948e762a6b9fd02e2902ccf42438df6fcb61)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-36917: Backport basic test for ast.NodeVisitor. (GH-15511)</title>
<updated>2019-08-26T11:48:55Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-08-26T11:48:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c2388622923c81b5f06b0c9a5ce821fc03c624b9'/>
<id>urn:sha1:c2388622923c81b5f06b0c9a5ce821fc03c624b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the "async" keyword. (GH-4175)</title>
<updated>2018-09-11T22:21:11Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-11T22:21:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d8bc7a666b1309aa5669980e35e7429071f3f7d3'/>
<id>urn:sha1:d8bc7a666b1309aa5669980e35e7429071f3f7d3</id>
<content type='text'>
Previously, col_offset points to the keyword after "async".
(cherry picked from commit 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b)

Co-authored-by: guoci &lt;zguoci@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-33851: Fix ast.get_docstring() for a node that lacks a docstring. (GH-7682)</title>
<updated>2018-06-15T08:25:13Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-15T08:25:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a50b825c18a92655f3dd7939e793fa3d4440d886'/>
<id>urn:sha1:a50b825c18a92655f3dd7939e793fa3d4440d886</id>
<content type='text'>
(cherry picked from commit 08f127a3cad8ce4eb281d30d9488c91b0fd7cfed)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-32911: Revert bpo-29463. (GH-7121)</title>
<updated>2018-05-29T07:49:10Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-05-29T07:49:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2641ee5040abb090e66e4ff80c33b76729b36e75'/>
<id>urn:sha1:2641ee5040abb090e66e4ff80c33b76729b36e75</id>
<content type='text'>
Remove the docstring attribute of AST types and restore docstring
expression as a first stmt in their body.

Co-authored-by: INADA Naoki &lt;methane@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>bpo-31778: Make ast.literal_eval() more strict. (#4035)</title>
<updated>2018-01-04T09:15:39Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-01-04T09:15:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d8ac4d1d5ac256ebf3d8d38c226049abec82a2a0'/>
<id>urn:sha1:d8ac4d1d5ac256ebf3d8d38c226049abec82a2a0</id>
<content type='text'>
Addition and subtraction of arbitrary numbers no longer allowed.
</content>
</entry>
</feed>
