summaryrefslogtreecommitdiff
path: root/Python/compile.c
AgeCommit message (Expand)AuthorLines
2019-11-07[2.7] bpo-38730: Fix -Wstringop-truncation warnings. (GH-17075)Benjamin Peterson-2/+2
2018-04-01[2.7] bpo-33132: Fix reference counting issues in the compiler. (GH-6209). (G...Serhiy Storchaka-18/+19
2016-07-14make too many nested blocks be a SyntaxError instead of a SystemError (closes...Benjamin Peterson-1/+1
2016-06-15Issue #27301: Fixed incorrect return code for error in compile.c.Serhiy Storchaka-1/+1
2016-04-06Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka-1/+1
2016-01-22code_richcompare() now uses the constants typesVictor Stinner-46/+5
2015-12-24Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka-3/+2
2015-07-27check return value of PyString_FromStringAndSize for NULL (closes #24734)Benjamin Peterson-1/+4
2015-06-11Fixed indentation of Python examples in C comments.Serhiy Storchaka-2/+2
2014-12-13pop the loop block even for infinite while loops (closes #23048)Benjamin Peterson-3/+2
2014-11-19Issue #22453: Fexed reference leaks when format error messages in ceval.c.Serhiy Storchaka-6/+6
2014-05-23Issue #21523: Fix over-pessimistic computation of the stack effect of some op...Antoine Pitrou-2/+6
2013-04-06Issue #17645: convert an assert() into a proper exception in _Py_Mangle().Antoine Pitrou-2/+5
2012-07-18remove unused variableMeador Inge-1/+1
2012-07-18Issue #15368: fixing variable typo.Meador Inge-1/+1
2012-07-18Issue #15368: make bytecode generation deterministic.Meador Inge-2/+22
2011-10-27don't let a tuple msg be interpreted as arguments to AssertionError (closes #...Benjamin Peterson-4/+2
2010-06-22Fix misindents in compile.c (for Benjamin).Antoine Pitrou-11/+11
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-2939/+2939
2010-03-25Backported PyCapsule from 3.1, and converted most uses ofLarry Hastings-7/+9
2010-03-17prevent lambda functions from having docstrings #8164Benjamin Peterson-0/+5
2010-02-05normalize exceptions passed to the __exit__ method #7853Benjamin Peterson-0/+3
2010-01-11Issue #2333: Backport set and dict comprehensions syntax.Alexandre Vassalotti-42/+152
2010-01-09Issue #2335: Backport set literals syntax from Python 3.x.Alexandre Vassalotti-0/+6
2009-11-28Issue #1678380: When distinguishing between -0.0 and 0.0 inMark Dickinson-26/+15
2009-11-20turn goto into do while loopBenjamin Peterson-36/+31
2009-10-15Allow core Python build to succeed under WITHOUT_COMPLEX. The module build s...Mark Dickinson-3/+6
2009-10-14Issue #1754094: Improve the stack depth calculation in the compiler.Neil Schemenauer-12/+21
2009-06-21remove tmpname support since it's no longer usedBenjamin Peterson-2/+0
2009-06-17remove unused 'encoding' member from the compiler structBenjamin Peterson-4/+0
2009-06-13when no module is given in a 'from' relative import, make ImportFrom.module NULLBenjamin Peterson-10/+18
2009-05-29Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-gJeffrey Yasskin-12/+0
2009-05-25take into account the fact that SETUP_WITH pushes a finally blockBenjamin Peterson-1/+1
2009-05-25add a SETUP_WITH opcodeBenjamin Peterson-56/+9
2009-05-23Issue #6042:Jeffrey Yasskin-51/+3
2009-02-28Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} withJeffrey Yasskin-53/+33
2009-01-31more flags which only work for function blocksBenjamin Peterson-6/+4
2009-01-31add explanatory commentBenjamin Peterson-0/+2
2009-01-17#4077: No need to append \n when calling Py_FatalErrorAmaury Forgeot d'Arc-1/+1
2008-12-27#4748 lambda generators shouldn't return valuesBenjamin Peterson-1/+6
2008-12-17Issue #2183: Simplify and optimize bytecode for list comprehensions.Antoine Pitrou-26/+7
2008-11-08check for assignment to __debug__ during AST generationBenjamin Peterson-6/+0
2008-06-11Merge in release25-maint r60793:Gregory P. Smith-4/+28
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-47/+47
2008-05-26Renamed PyString to PyBytesChristian Heimes-47/+47
2008-03-30Patch #2511: Give the "excepthandler" AST item proper attributes by making it...Georg Brandl-7/+7
2008-03-28Fix a reference leak found by Georg, when compiling a class nested in another...Amaury Forgeot d'Arc-0/+1
2008-03-28Patch #1810 by Thomas Lee, reviewed by myself:Georg Brandl-6/+14
2008-03-15Add a warning for code like:Neal Norwitz-0/+8
2008-03-07Speed up with statements by storing the __exit__ method on the stack instead ...Nick Coghlan-14/+6