summaryrefslogtreecommitdiff
path: root/Python/peephole.c
AgeCommit message (Expand)AuthorLines
2018-11-08bpo-35193: Fix an off by one error in the RETURN_VALUE case. (GH-10418) (GH-1...Gregory P. Smith-6/+6
2017-12-15[3.6] bpo-30416: Protect the optimizer during constant folding. (#4865)Serhiy Storchaka-15/+131
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
2008-08-07Rename PyUnicode_AsString -> _PyUnicode_AsString andMarc-André Lemburg-1/+1
2008-05-26Renamed PyString to PyBytesChristian Heimes-7/+7
2008-03-25Merged revisions 61834,61841-61842,61851-61853,61863-61864,61869-61870,61874,...Christian Heimes-2/+2
2008-02-25Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61058-61061 ...Christian Heimes-1/+1
2007-11-22PyString_AsString is permissive and accepts unicode strings.Amaury Forgeot d'Arc-1/+1
2007-06-13Merged revisions 55817-55961 via svnmerge fromGuido van Rossum-15/+38
2007-04-27Merged revisions 53952-54987 via svnmerge fromGuido van Rossum-6/+10
2007-02-26Two more patches by Tony Lownds (SF# 1607548).Guido van Rossum-5/+11
2006-12-13Four months of trunk changes (including a few releases...)Thomas Wouters-4/+15
2006-08-25Remove the UNARY_CONVERT opcode (was used for backticks). Also bumped up theBrett Cannon-4/+0
2006-08-21Merge current trunk into p3yk. This includes the PyNumber_Index API change,Thomas Wouters-0/+610