summaryrefslogtreecommitdiff
path: root/Python/peephole.c
AgeCommit message (Expand)AuthorLines
2019-08-27Fix unused variable and signed/unsigned warnings (GH-15537) (GH-15551)Miss Islington (bot)-2/+2
2019-06-15bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-14099) (G...Miss Islington (bot)-9/+3
2019-06-13bpo-37269: Correctly optimise conditionals with constant booleans (GH-14071)Miss Islington (bot)-0/+5
2019-06-13bpo-37213: Handle negative line deltas correctly in the peephole optimizer (G...Miss Islington (bot)-5/+9
2019-05-17bpo-1875: Raise SyntaxError in invalid blocks that will be optimised away (GH...Pablo Galindo-4/+12
2018-12-07bpo-9566: Fix compiler warnings in peephole.c (GH-10652)Victor Stinner-21/+47
2018-11-08bpo-35193: Fix an off by one error in the RETURN_VALUE case. (GH-10418)Gregory P. Smith-10/+12
2018-02-22bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter t...Serhiy Storchaka-15/+18
2017-12-18bpo-29469: peephole: Remove const_stack (GH-4879)INADA Naoki-81/+21
2017-12-14bpo-29469: Optimize literal lists and sets iterating on the AST level. (#4866)Serhiy Storchaka-24/+3
2017-12-14bpo-29469: Remove unnecessary peephole optimizer (GH-4863)INADA Naoki-15/+0
2017-12-14bpo-29469: Move constant folding to AST optimizer (GH-2858)INADA Naoki-193/+0
2017-06-11bpo-30501: Make the compiler producing optimized code for condition expressio...Serhiy Storchaka-12/+2
2016-10-25Issue #28517: Fixed of-by-one error in the peephole optimizer that causedSerhiy Storchaka-2/+2
2016-09-11Fixed refactoring bug in dd046963bd42 (issue27129).Serhiy Storchaka-1/+1
2016-09-11Issue #27129: Replaced wordcode related magic constants with macros.Serhiy Storchaka-105/+112
2016-08-07Re-linewrap commentsRaymond Hettinger-13/+8
2016-05-26Issue #27076: Merge spelling from 3.5Martin Panter-1/+1
2016-05-26Issue #27076: Doc, comment and tests spelling fixesMartin Panter-1/+1
2016-05-24Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.Serhiy Storchaka-263/+313
2016-04-06Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka-1/+1
2016-01-20co_lnotab supports negative line number deltaVictor Stinner-23/+28
2016-01-05Issue #20440: Cleaning up the code by using Py_SETREF.Serhiy Storchaka-3/+1
2015-05-11PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov-0/+3
2015-02-16Issue #23450: Silenced compiler warnings and added asserts in peephole optimi...Serhiy Storchaka-3/+9
2015-02-16Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka-2/+2
2013-11-14Issue #19437: Fix fold_unaryops_on_constants() of the peephole optimizer, clearVictor Stinner-0/+1
2013-07-09Issue #18408: Fix PyCode_Optimize(): raise a MemoryError on memory allocationVictor Stinner-2/+6
2012-12-06create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson-46/+0
2011-09-28Implement PEP 393.Martin v. Löwis-18/+0
2011-09-21Issue #13002: Fix Visual Studio warning (not enough actual parameters).Stefan Krah-1/+1
2011-04-15#5057: Merge with 3.2.Ezio Melotti-0/+18
2011-04-15#5057: Merge with 3.1.Ezio Melotti-0/+18
2011-04-15Issue #5057: fix a bug in the peepholer that led to non-portable pyc files be...Ezio Melotti-0/+18
2011-03-23Issue #11244: Remove outdated peepholer check that was preventing the peephol...Mark Dickinson-4/+2
2011-03-15Issue 11510: Fix BUILD_SET optimizer bug.Raymond Hettinger-1/+2
2011-03-15Issue 11510: Fix BUILD_SET optimizer bug.Raymond Hettinger-1/+2
2011-03-11Issue #11244: The peephole optimizer is now able to constant-foldAntoine Pitrou-47/+120
2010-11-30Remove redundant includes of headers that are already included by Python.h.Georg Brandl-2/+0
2010-08-22Issue 8403: Don't mask KeyboardInterrupt during peephole operation.Raymond Hettinger-4/+8
2010-05-09Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou-559/+559
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-576/+576
2010-01-16Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`,Antoine Pitrou-4/+16
2009-10-22Peephole constant folding had missed UNARY_POSITIVE.Raymond Hettinger-0/+4
2009-08-13Merged revisions 74126,74130-74131,74149,74155,74157,74180-74183,74398 via sv...Georg Brandl-6/+9
2009-07-21Merged revisions 73683,73786 via svnmerge fromAlexandre Vassalotti-6/+9
2009-06-28Merged revisions 72912,72920,72940 via svnmerge fromBenjamin Peterson-0/+3
2009-02-28Fix 2 oversights from r69961.Jeffrey Yasskin-3/+5
2009-02-25http://bugs.python.org/issue4715Jeffrey Yasskin-44/+58
2008-11-18Issue 2260: Small peephole optimization -- eliminate unnecessary POP_TOP /JUM...Raymond Hettinger-0/+10