50 Commits (7ea143ae795a9fd57eaccf490d316bdc13ee9065)

Author SHA1 Message Date
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. 14 years ago
Stefan Krah 472d280d8b Issue #13002: Fix Visual Studio warning (not enough actual parameters). 14 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
Georg Brandl e323e0e91a Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint. 17 years ago
Benjamin Peterson 876b2f286b Merged revisions 72912,72920,72940 via svnmerge from 17 years ago
Benjamin Peterson aafa18aa05 teach the peepholer about SETUP_WITH 17 years ago
Jeffrey Yasskin 4dd40525e6 Fix 2 oversights from r69961. 17 years ago
Jeffrey Yasskin 68d6852006 Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with 17 years ago
Jeffrey Yasskin 9de7ec7868 http://bugs.python.org/issue4715 17 years ago
Raymond Hettinger e56131b60e Issue 2260: Small peephole optimization -- eliminate unnecessary POP_TOP /JUMP_FORWARD 1 pairs. 17 years ago
Marc-André Lemburg 4cc0f24857 Rename PyUnicode_AsString -> _PyUnicode_AsString and 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 72b710a596 Renamed PyString to PyBytes 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago