Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-38870: Expose a function to unparse an ast object in the ast module ↵ | Pablo Galindo | 2019-11-24 | 1 | -318/+0 |
| | | | | | | | (GH-17302) Add ast.unparse() as a function in the ast module that can be used to unparse an ast.AST object and produce a string with code that would produce an equivalent ast.AST object when parsed. | ||||
* | bpo-37053: handle strings like u"bar" correctly in Tools/parser/unparse.py ↵ | Chih-Hsuan Yen | 2019-05-26 | 1 | -0/+5 |
| | | | | | | | | | | | | (GH-13583) Constant.kind is added in https://bugs.python.org/issue36280. Current possible values for Constant.kind are "u" or None. For r'bar' and b'bar', Constant.kind value is None, so there's no need for special handling. https://bugs.python.org/issue37053 | ||||
* | bpo-31174: Improve the code of test_tools.test_unparse. (#4146) | Serhiy Storchaka | 2017-10-27 | 1 | -8/+8 |
| | |||||
* | bpo-31174: Fix test_tools.test_unparse (#4102) | Victor Stinner | 2017-10-24 | 1 | -2/+13 |
| | | | | | test_unparse.DirectoryTestCase now stores the names sample to always test the same files. It prevents false alarms when hunting reference leaks. | ||||
* | Issue 27948: Allow backslashes in the literal string portion of f-strings, ↵ | Eric V. Smith | 2016-09-10 | 1 | -5/+5 |
| | | | | but not in the expressions. Also, require expressions to begin and end with literal curly braces. | ||||
* | tests: use subTest in test_unparse.test_files | Yury Selivanov | 2016-09-09 | 1 | -2/+3 |
| | |||||
* | fix skipping #27921 for windows | Benjamin Peterson | 2016-09-05 | 1 | -2/+1 |
| | |||||
* | Issue 27921: Remove backslash from another f-string. I'll revert this change ↵ | Eric V. Smith | 2016-09-03 | 1 | -0/+10 |
| | | | | before beta 2. I also need to look in to why test_tools/test_unparse fails with the files that are now being skipped. | ||||
* | Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a ↵ | Eric V. Smith | 2016-09-03 | 1 | -4/+0 |
| | | | | temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts. | ||||
* | Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py | Berker Peksag | 2016-03-06 | 1 | -0/+5 |
|\ | | | | | | | Patch by Guo Ci Teo. | ||||
| * | Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py | Berker Peksag | 2016-03-06 | 1 | -0/+5 |
| | | | | | | | | Patch by Guo Ci Teo. | ||||
* | | Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter. | Eric V. Smith | 2015-09-20 | 1 | -2/+9 |
| | | |||||
* | | Temporary hack for issue #25180: exclude test_fstring.py from the unparse ↵ | Eric V. Smith | 2015-09-19 | 1 | -0/+2 |
|/ | | | | round-tripping, while I figure out how to properly fix it. | ||||
* | Issue #21918: Convert test_tools.py to a sub-package of test. | Zachary Ware | 2014-07-16 | 1 | -0/+282 |