61 Commits (f1c19031fd5f4cf6faad539e30796b42954527db)

Author SHA1 Message Date
Raymond Hettinger 0138c4ceab
Fix unused variable and signed/unsigned warnings (GH-15537) 6 years ago
Pablo Galindo 7a68f8c28b
bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-14099) 7 years ago
Pablo Galindo 05f8318655
bpo-37269: Correctly optimise conditionals with constant booleans (GH-14071) 7 years ago
Pablo Galindo 3498c642f4
bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969) 7 years ago
Pablo Galindo af8646c805
bpo-1875: Raise SyntaxError in invalid blocks that will be optimised away (GH-13332) 7 years ago
Victor Stinner 028f0ef4f3
bpo-9566: Fix compiler warnings in peephole.c (GH-10652) 7 years ago
Gregory P. Smith 49fa4a9f1e
bpo-35193: Fix an off by one error in the RETURN_VALUE case. (GH-10418) 7 years ago
Serhiy Storchaka 520b7ae27e
bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 8 years ago
INADA Naoki 87010e85cb
bpo-29469: peephole: Remove const_stack (GH-4879) 8 years ago
Serhiy Storchaka 15a8728415
bpo-29469: Optimize literal lists and sets iterating on the AST level. (#4866) 8 years ago
INADA Naoki eadad1b97f
bpo-29469: Remove unnecessary peephole optimizer (GH-4863) 8 years ago
INADA Naoki 7ea143ae79
bpo-29469: Move constant folding to AST optimizer (GH-2858) 8 years ago
Serhiy Storchaka 36ff451eba bpo-30501: Make the compiler producing optimized code for condition expressions. (#1851) 9 years ago
Serhiy Storchaka 7db3c48833 Issue #28517: Fixed of-by-one error in the peephole optimizer that caused 9 years ago
Serhiy Storchaka a1e9ab34a9 Fixed refactoring bug in dd046963bd42 (issue27129). 9 years ago
Serhiy Storchaka ab8740058a Issue #27129: Replaced wordcode related magic constants with macros. 9 years ago
Raymond Hettinger 08eef3ff49 Re-linewrap comments 10 years ago
Martin Panter 46f50726a0 Issue #27076: Doc, comment and tests spelling fixes 10 years ago
Serhiy Storchaka b0f80b0312 Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode. 10 years ago
Victor Stinner f3914eb16d co_lnotab supports negative line number delta 10 years ago
Serhiy Storchaka 576f132b98 Issue #20440: Cleaning up the code by using Py_SETREF. 10 years ago
Yury Selivanov 7544508f02 PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 11 years ago
Serhiy Storchaka 67559bf8f1 Issue #23450: Silenced compiler warnings and added asserts in peephole optimizer. 11 years ago
Serhiy Storchaka 1a1ff29659 Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer 11 years ago
Victor Stinner c82729e44f Issue #19437: Fix fold_unaryops_on_constants() of the peephole optimizer, clear 12 years ago
Victor Stinner e0af3a802a Issue #18408: Fix PyCode_Optimize(): raise a MemoryError on memory allocation 13 years ago
Benjamin Peterson 442f20996d create NameConstant AST class for None, True, and False literals (closes #16619) 13 years ago
Ezio Melotti 6c5f5210be #5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds. 13 years ago
Ezio Melotti c18cc0edff #5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds. 13 years ago
Raymond Hettinger dee8af225b Fix whitespace 14 years ago
Martin v. Löwis ed11a5d018 Issue #8767: Restore building with --disable-unicode. 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Stefan Krah 472d280d8b Issue #13002: Fix Visual Studio warning (not enough actual parameters). 15 years ago
Ezio Melotti 2df6a93916 Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. "\U00012345"[0]). 15 years ago
Ezio Melotti c283a85e12 Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]). 15 years ago
Mark Dickinson 7c9e803284 Issue #11244: Remove outdated peepholer check that was preventing the peepholer from folding -0 and -0.0. Thanks Eugene Toder for the patch. 15 years ago
Raymond Hettinger 29dcaad6eb Issue 11510: Fix BUILD_SET optimizer bug. 15 years ago
Raymond Hettinger 0661e91fed Issue 11510: Fix BUILD_SET optimizer bug. 15 years ago
Antoine Pitrou 17b880a5d6 Issue #11244: The peephole optimizer is now able to constant-fold 15 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 15 years ago
Raymond Hettinger 819a064556 Issue 8403: Don't mask KeyboardInterrupt during peephole operation. 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Antoine Pitrou b7fbcd396f Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`, 16 years ago
Georg Brandl f004d9dc84 Merged revisions 73206,73232,73299,73683,74020,74185,74544,74643,74647,74817,74838-74839,74865,74946,75402,75459,75604,75696 via svnmerge from 16 years ago
Raymond Hettinger af7adad51d Peephole constant folding had missed UNARY_POSITIVE. 16 years ago
Georg Brandl 194da4a7da Merged revisions 74126,74130-74131,74149,74155,74157,74180-74183,74398 via svnmerge from 17 years ago
Alexandre Vassalotti 6f82818652 Merged revisions 73683,73786 via svnmerge from 17 years ago