summaryrefslogtreecommitdiffstats
path: root/Python/peephole.c
Commit message (Expand)AuthorAgeFilesLines
* Produce cleaner bytecode for 'with' and 'async with' by generating separate c...Mark Shannon2019-11-211-9/+3
* Fix unused variable and signed/unsigned warnings (GH-15537)Raymond Hettinger2019-08-271-2/+2
* bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-14099)Pablo Galindo2019-06-151-9/+3
* bpo-37269: Correctly optimise conditionals with constant booleans (GH-14071)Pablo Galindo2019-06-141-0/+5
* bpo-37213: Handle negative line deltas correctly in the peephole optimizer (G...Pablo Galindo2019-06-131-5/+9
* bpo-1875: Raise SyntaxError in invalid blocks that will be optimised away (GH...Pablo Galindo2019-05-171-4/+12
* bpo-9566: Fix compiler warnings in peephole.c (GH-10652)Victor Stinner2018-12-071-21/+47
* bpo-35193: Fix an off by one error in the RETURN_VALUE case. (GH-10418)Gregory P. Smith2018-11-091-10/+12
* bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter t...Serhiy Storchaka2018-02-221-15/+18
* bpo-29469: peephole: Remove const_stack (GH-4879)INADA Naoki2017-12-181-81/+21
* bpo-29469: Optimize literal lists and sets iterating on the AST level. (#4866)Serhiy Storchaka2017-12-141-24/+3
* bpo-29469: Remove unnecessary peephole optimizer (GH-4863)INADA Naoki2017-12-141-15/+0
* bpo-29469: Move constant folding to AST optimizer (GH-2858)INADA Naoki2017-12-141-193/+0
* bpo-30501: Make the compiler producing optimized code for condition expressio...Serhiy Storchaka2017-06-111-12/+2
* Issue #28517: Fixed of-by-one error in the peephole optimizer that causedSerhiy Storchaka2016-10-251-2/+2
* Fixed refactoring bug in dd046963bd42 (issue27129).Serhiy Storchaka2016-09-111-1/+1
* Issue #27129: Replaced wordcode related magic constants with macros.Serhiy Storchaka2016-09-111-105/+112
* Re-linewrap commentsRaymond Hettinger2016-08-081-13/+8
* Issue #27076: Merge spelling from 3.5Martin Panter2016-05-261-1/+1
|\
| * Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-261-1/+1
* | Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.Serhiy Storchaka2016-05-241-263/+313
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-1/+1
|\ \ | |/
* | co_lnotab supports negative line number deltaVictor Stinner2016-01-201-23/+28
* | Issue #20440: Cleaning up the code by using Py_SETREF.Serhiy Storchaka2016-01-051-3/+1
|/
* PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-0/+3
* Issue #23450: Silenced compiler warnings and added asserts in peephole optimi...Serhiy Storchaka2015-02-161-3/+9
* Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-161-2/+2
* Issue #19437: Fix fold_unaryops_on_constants() of the peephole optimizer, clearVictor Stinner2013-11-141-0/+1
* Issue #18408: Fix PyCode_Optimize(): raise a MemoryError on memory allocationVictor Stinner2013-07-081-2/+6
* create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-061-46/+0
* Implement PEP 393.Martin v. Löwis2011-09-281-18/+0
* Issue #13002: Fix Visual Studio warning (not enough actual parameters).Stefan Krah2011-09-211-1/+1
* #5057: Merge with 3.2.Ezio Melotti2011-04-151-0/+18
|\
| * #5057: Merge with 3.1.Ezio Melotti2011-04-151-0/+18
| |\
| | * Issue #5057: fix a bug in the peepholer that led to non-portable pyc files be...Ezio Melotti2011-04-151-0/+18
| | * Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou2010-05-091-598/+598
| | * Merged revisions 74126,74130-74131,74149,74155,74157,74180-74183,74398 via sv...Georg Brandl2009-08-131-6/+9
| * | Issue 11510: Fix BUILD_SET optimizer bug.Raymond Hettinger2011-03-151-1/+2
* | | Issue #11244: Remove outdated peepholer check that was preventing the peephol...Mark Dickinson2011-03-231-4/+2
* | | Issue 11510: Fix BUILD_SET optimizer bug.Raymond Hettinger2011-03-151-1/+2
* | | Issue #11244: The peephole optimizer is now able to constant-foldAntoine Pitrou2011-03-111-47/+120
|/ /
* | Remove redundant includes of headers that are already included by Python.h.Georg Brandl2010-11-301-2/+0
* | Issue 8403: Don't mask KeyboardInterrupt during peephole operation.Raymond Hettinger2010-08-221-4/+8
* | Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-616/+616
* | Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`,Antoine Pitrou2010-01-161-4/+16
* | Peephole constant folding had missed UNARY_POSITIVE.Raymond Hettinger2009-10-221-0/+4
* | Merged revisions 73683,73786 via svnmerge fromAlexandre Vassalotti2009-07-211-6/+9
* | Merged revisions 72912,72920,72940 via svnmerge fromBenjamin Peterson2009-06-281-0/+3
|/
* Fix 2 oversights from r69961.Jeffrey Yasskin2009-02-281-3/+5
* http://bugs.python.org/issue4715Jeffrey Yasskin2009-02-251-44/+58