Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-33691: Add _PyAST_GetDocString(). (GH-7236) | Serhiy Storchaka | 2018-05-30 | 1 | -22/+6 |
| | |||||
* | bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197) | Serhiy Storchaka | 2018-05-29 | 1 | -4/+43 |
| | | | | | | Remove the docstring attribute of AST types and restore docstring expression as a first stmt in their body. Co-authored-by: INADA Naoki <methane@users.noreply.github.com> | ||||
* | bpo-32925: Optimized iterating and containing test for literal lists (GH-5842) | Serhiy Storchaka | 2018-03-11 | 1 | -2/+17 |
| | | | | | consisting of non-constants: `x in [a, b]` and `for x in [a, b]`. The case of all constant elements already was optimized. | ||||
* | bpo-9566: Fix size_t=>int downcast warnings (#5230) | Victor Stinner | 2018-01-18 | 1 | -1/+1 |
| | | | | * Use wider types (int => Py_ssize_t) to avoid integer overflows. * Fix gc.get_freeze_count(): use Py_ssize_t type rather than int, since gc_list_size() returns a Py_ssize_t. | ||||
* | bpo-32372: Move __debug__ optimization to the AST level. (#4925) | Serhiy Storchaka | 2017-12-25 | 1 | -33/+38 |
| | |||||
* | bpo-30416: Protect the optimizer during constant folding. (#4860) | Serhiy Storchaka | 2017-12-15 | 1 | -25/+130 |
| | | | | | | | | It no longer spends much time doing complex calculations and no longer consumes much memory for creating large constants that will be dropped later. This fixes also bpo-21074. | ||||
* | bpo-29469: Optimize literal lists and sets iterating on the AST level. (#4866) | Serhiy Storchaka | 2017-12-14 | 1 | -29/+38 |
| | |||||
* | bpo-29469: Move constant folding to AST optimizer (GH-2858) | INADA Naoki | 2017-12-14 | 1 | -0/+649 |