Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40443: Remove unused imports in tests (GH-19805) | Victor Stinner | 2020-04-30 | 1 | -1/+0 |
| | |||||
* | bpo-40334: Rename PyConfig.use_peg to _use_peg_parser (GH-19670) | Victor Stinner | 2020-04-23 | 1 | -1/+1 |
| | | | | | | | | | | | * Rename PyConfig.use_peg to _use_peg_parser * Document PyConfig._use_peg_parser and mark it a deprecated * Mark -X oldparser option and PYTHONOLDPARSER env var as deprecated in the documentation. * Add use_old_parser() and skip_if_new_parser() to test.support * Remove sys.flags.use_peg: use_old_parser() uses _testinternalcapi.get_configs() instead. * Enhance test_embed tests * subprocess._args_from_interpreter_flags() copies -X oldparser | ||||
* | bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503) | Pablo Galindo | 2020-04-22 | 1 | -0/+2 |
| | | | | Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> | ||||
* | bpo-40209: Use tokenize.open in test_unparse (GH-19399) | Hakan Çelik | 2020-04-16 | 1 | -5/+2 |
| | |||||
* | bpo-38870: Implement support for ast.FunctionType in ast.unparse (GH-19016) | Batuhan Taşkaya | 2020-03-15 | 1 | -3/+11 |
| | |||||
* | bpo-38870: Simplify sequence interleaves in ast.unparse (GH-17892) | Batuhan Taşkaya | 2020-03-09 | 1 | -14/+20 |
| | |||||
* | bpo-39889: Fix ast.unparse() for subscript. (GH-18824) | Serhiy Storchaka | 2020-03-07 | 1 | -0/+14 |
| | |||||
* | bpo-38870: Add docstring support to ast.unparse (GH-17760) | Batuhan Taşkaya | 2020-03-02 | 1 | -70/+126 |
| | | | | | | Allow ast.unparse to detect docstrings in functions, modules and classes and produce nicely formatted unparsed output for said docstrings. Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com> | ||||
* | bpo-38870: Implement a precedence algorithm in ast.unparse (GH-17377) | Batuhan Taşkaya | 2020-03-01 | 1 | -0/+41 |
| | | | | Implement a simple precedence algorithm for ast.unparse in order to avoid redundant parenthesis for nested structures in the final output. | ||||
* | bpo-38870: Throw ValueError on invalid yield from usage (GH-17798) | Batuhan Taşkaya | 2020-01-02 | 1 | -0/+2 |
| | |||||
* | Fix error when running with -uall in test_unparse (GH-17739) | Pablo Galindo | 2019-12-29 | 1 | -7/+7 |
| | |||||
* | bpo-38870: Run always tests that heavily use grammar features in ↵ | Pablo Galindo | 2019-12-29 | 1 | -1/+11 |
| | | | | test_unparse (GH-17738) | ||||
* | Clean imports in test_unparse (GH-17545) | Pablo Galindo | 2019-12-10 | 1 | -2/+0 |
| | |||||
* | bpo-39003: Make sure all test are the same when using -R in test_unparse ↵ | Pablo Galindo | 2019-12-09 | 1 | -7/+14 |
| | | | | (GH-17537) | ||||
* | bpo-38870: Expose a function to unparse an ast object in the ast module ↵ | Pablo Galindo | 2019-11-24 | 1 | -0/+328 |
(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. |