summaryrefslogtreecommitdiff
path: root/Python/compile.c
AgeCommit message (Expand)AuthorLines
2002-03-03Patch #50002: Display line information for bad \x escapes:Martin v. Löwis-14/+26
2002-02-06Fix a bunch of typos found by nnorwitz.Michael W. Hudson-2/+2
2002-01-28It's merge time! (well, this is the last one for the moment)Michael W. Hudson-0/+3
2001-12-13Fix for SF bug [ #492403 ] exec() segfaults on closure's func_codeJeremy Hylton-3/+3
2001-12-04SF bug #488687 reported by Neal NorwitzJeremy Hylton-1/+1
2001-11-28code_repr(), com_addop_varname(), com_list_comprehension(),Barry Warsaw-32/+42
2001-11-28Fixes for possible buffer overflows in sprintf() usages.Marc-André Lemburg-1/+1
2001-11-09Use PyObject_CheckReadBuffer().Jeremy Hylton-11/+2
2001-11-09Fix SF buf #480096: Assign to __debug__ still allowedJeremy Hylton-2/+7
2001-11-04Part of SF bug #478003 possible memory leaks in err handling.Tim Peters-1/+4
2001-10-18Fix for SF bug [ #471928 ] global made w/nested list comprehensionsJeremy Hylton-19/+51
2001-10-17Fix computation of stack depth for classdef and closures.Jeremy Hylton-44/+44
2001-10-15Very subtle syntax change: in a list comprehension, the testlist inGuido van Rossum-0/+1
2001-09-20Add optional docstrings to member descriptors. For backwardsGuido van Rossum-1/+1
2001-09-14Supply code objects a new-style tp_members slot and tp_getattr impl.Jeremy Hylton-16/+34
2001-09-07SF bug [#458941] Looks like a unary minus bug.Tim Peters-16/+49
2001-08-30When re-writing a factor containing a unary negation of a literal, onlyFred Drake-0/+3
2001-08-30Removed unreachable goto statement to silence SGI compiler.Sjoerd Mullender-1/+0
2001-08-27If an integer constant can't be generated from an integer literalJeremy Hylton-5/+2
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-13/+25
2001-08-14Fix SF bug [ #450909 ] __future__.division fails at promptJeremy Hylton-2/+6
2001-08-12SF Patch [ 429024 ] deal with some unary ops at compile timeJeremy Hylton-3/+66
2001-08-11Remove st_nested_scopes from struct symtable,Jeremy Hylton-128/+44
2001-08-11st_nested_scopes was uninitialized trash. Jeremy should fix in a betterTim Peters-0/+6
2001-08-10Refactor future feature handlingJeremy Hylton-27/+4
2001-08-08Implement PEP 238 in its (almost) full glory.Guido van Rossum-4/+25
2001-08-06Another bug fix for recent import * warning (caught by Thomas Wouters)Jeremy Hylton-3/+3
2001-08-06Fix error message for import * in function/class scopeJeremy Hylton-1/+1
2001-08-06Fix SF bug [ #445474 ] warn about import * inside functionsJeremy Hylton-0/+5
2001-07-16jcompile(): inherit the CO_GENERATOR_ALLOWED flag from the 'base'Guido van Rossum-0/+1
2001-07-16Part way to allowing "from __future__ import generators" to communicateTim Peters-4/+13
2001-06-28Another "if 0:" hack, this time to complain about otherwise invisibleTim Peters-2/+61
2001-06-26SF bug #436207: "if 0: yield x" is ignored.Tim Peters-1/+33
2001-06-23Change the semantics of "return" in generators, as discussed on theTim Peters-25/+10
2001-06-23Disallow 'yield' in a 'try' block when there's a 'finally' clause.Tim Peters-0/+10
2001-06-18Merging the gen-branch into the main line, at Guido's direction. Yay!Tim Peters-9/+51
2001-06-09SF bug 430991: wrong co_lnotabTim Peters-10/+54
2001-05-09SF patch #416249, from Mark Favas: 2.1c1 compile: unused vrbl cleanupTim Peters-2/+0
2001-05-08Several small changes. Mostly reformatting, adding parens.Jeremy Hylton-10/+11
2001-04-27Fix 2.1 nested scopes crash reported by Evan SimpsonJeremy Hylton-6/+20
2001-04-20Iterators phase 1. This comprises:Guido van Rossum-18/+6
2001-04-14Make some private symbols static.Guido van Rossum-1/+2
2001-04-09Warn when assigning to __debug__ instead of raising an error.Jeremy Hylton-7/+2
2001-03-23Make it illegal to assign to __debug__ as per Guido's request.Jeremy Hylton-1/+12
2001-03-22Set the line number correctly for a nested function with an exec orJeremy Hylton-2/+5
2001-03-22Make error messages clearer for illegal combinations of nestedJeremy Hylton-15/+36
2001-03-22If a code object is compiled with nested scopes, define the CO_NESTED flag.Jeremy Hylton-0/+2
2001-03-21Update PyNode_CompileSymtable() to understand future statementsJeremy Hylton-9/+15
2001-03-21Fix PyFrame_FastToLocals() and counterpart to deal with cells andJeremy Hylton-51/+69
2001-03-20Fixup handling of free variables in methods when the class scope alsoJeremy Hylton-3/+12