<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/ast.py, branch 3.6</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.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/ast.py?h=3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2016-01-25T23:40:57Z</updated>
<entry>
<title>Add ast.Constant</title>
<updated>2016-01-25T23:40:57Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-01-25T23:40:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f2c1aa1661edb3e14ff8b7b9995f93e303c8acbb'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Issue #25670: Remove duplicate getattr() from ast.NodeTransformer</title>
<updated>2015-11-20T07:49:58Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-11-20T07:49:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6fbd7741db5cb6db4cd49722d42f20d2b1d7dc0a'/>
<id>urn:sha1:6fbd7741db5cb6db4cd49722d42f20d2b1d7dc0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #24688: ast.get_docstring() for 'async def' functions.</title>
<updated>2015-07-23T05:54:35Z</updated>
<author>
<name>Yury Selivanov</name>
<email>yselivanov@sprymix.com</email>
</author>
<published>2015-07-23T05:54:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2f07a66dedb6f69cbe601f7ca2c3fca66898ffe3'/>
<id>urn:sha1:2f07a66dedb6f69cbe601f7ca2c3fca66898ffe3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>create NameConstant AST class for None, True, and False literals (closes #16619)</title>
<updated>2012-12-06T22:41:04Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2012-12-06T22:41:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=442f20996dcd994d1024e5cad7f66a4595352eb2'/>
<id>urn:sha1:442f20996dcd994d1024e5cad7f66a4595352eb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove ast.__version__ (closes #12273)</title>
<updated>2011-07-16T02:10:13Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2011-07-16T02:10:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0bd152cd67fef5c238ed15ba2ce09f6a74e8d334'/>
<id>urn:sha1:0bd152cd67fef5c238ed15ba2ce09f6a74e8d334</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing types to docstring of ast.literal_eval.</title>
<updated>2011-04-17T17:10:27Z</updated>
<author>
<name>Éric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-04-17T17:10:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2a83cc61d6bd96dc05008039703827ec0438cf9c'/>
<id>urn:sha1:2a83cc61d6bd96dc05008039703827ec0438cf9c</id>
<content type='text'>
The reST doc was updated but not the docstring.
</content>
</entry>
<entry>
<title>Issue #11000 ast.parse parses source, not just expressions.</title>
<updated>2011-01-24T21:36:03Z</updated>
<author>
<name>Terry Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2011-01-24T21:36:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=feac624827a6523e29f69210d69a0627d19bfd2b'/>
<id>urn:sha1:feac624827a6523e29f69210d69a0627d19bfd2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#10869: do not visit root node twice in ast.increment_lineno().</title>
<updated>2011-01-09T07:38:51Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2011-01-09T07:38:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=619e7ba8148cb9ebf11a1331c788b6713e88ca5d'/>
<id>urn:sha1:619e7ba8148cb9ebf11a1331c788b6713e88ca5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix handling on negative numbers in ast.literal_eval().</title>
<updated>2010-10-08T00:47:45Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2010-10-08T00:47:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bc95973b51abadc84960e7836ce313f12cf515cf'/>
<id>urn:sha1:bc95973b51abadc84960e7836ce313f12cf515cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove pointless coding cookies</title>
<updated>2010-08-30T14:05:50Z</updated>
<author>
<name>Florent Xicluna</name>
<email>florent.xicluna@gmail.com</email>
</author>
<published>2010-08-30T14:05:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e01de8f2f3f8ec2ad58e1baddb7c2c657e331796'/>
<id>urn:sha1:e01de8f2f3f8ec2ad58e1baddb7c2c657e331796</id>
<content type='text'>
</content>
</entry>
</feed>
