Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Plug a leak in code_dealloc() (and reordered the deallocs to match the | Guido van Rossum | 1997-07-25 | 1 | -3/+2 |
| | | | | | | order of the variables in the declarations). Also removed an entry in the TODO list that's done. | ||||
* | Fix bug reported by Just: anonymous arguments used for tuples should | Guido van Rossum | 1997-07-10 | 1 | -1/+3 |
| | | | | | | have a unique name, otherwise they get squished by locals2fast (or fast2locals, I dunno) when the debugger is invoked before they have been transferred to real locals. | ||||
* | PyObject_Compare can raise an exception now. | Guido van Rossum | 1997-05-23 | 1 | -1/+2 |
| | |||||
* | Indent the #error directives so a classic K&R cpp doesn't see them. | Guido van Rossum | 1997-05-20 | 1 | -3/+3 |
| | |||||
* | Get rid of obsolete support for access statement. | Guido van Rossum | 1997-05-09 | 1 | -67/+0 |
| | |||||
* | Instead of importing graminit.h whenever one of the three grammar 'root' | Guido van Rossum | 1997-05-07 | 1 | -0/+14 |
| | | | | symbols is needed, define these in Python.h with a Py_ prefix. | ||||
* | Quickly renamed the remaining files -- this directory is done. | Guido van Rossum | 1997-04-29 | 1 | -312/+331 |
| | |||||
* | Tweaks to keep the Microsoft compiler quier. | Guido van Rossum | 1997-04-09 | 1 | -1/+4 |
| | |||||
* | Support for alternative string quotes (a"xx", b"xx", c"xx", ...). | Guido van Rossum | 1997-04-06 | 1 | -3/+6 |
| | | | | In interactive mode, do generate code for single-string statements. | ||||
* | Added assert statement. | Guido van Rossum | 1997-04-02 | 1 | -0/+45 |
| | |||||
* | New form of PyFPE_END_PROTECT macro. | Guido van Rossum | 1997-03-14 | 1 | -2/+2 |
| | |||||
* | Fix dumb bug calling parsestrplus with wrong node as argument. | Guido van Rossum | 1997-03-11 | 1 | -1/+3 |
| | | | | | Add prototypes for parsestr() and parsestrplus() (unrelated, but seemed to make sense.) | ||||
* | Added support for ``if __debug__:'' -- if -O is given, this form is | Guido van Rossum | 1997-03-11 | 1 | -2/+90 |
| | | | | | | | | | | | recognized by the code generator and code generation for the test and the subsequent suite is suppressed. One must write *exactly* ``if __debug__:'' or ``elif __debug__:'' -- no parentheses or operators must be present, or the optimization is not carried through. Whitespace doesn't matter. Other uses of __debug__ will find __debug__ defined as 0 or 1 in the __builtin__ module. | ||||
* | Add global Py_OptimizeFlag. SET_LINENO is omitted again unless this is | Guido van Rossum | 1997-03-03 | 1 | -4/+7 |
| | | | | nonzero. | ||||
* | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 1 | -2/+9 |
| | | | | | New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets. | ||||
* | Instead of emitting SET_LINENO instructions, generate a line number | Guido van Rossum | 1997-01-24 | 1 | -6/+102 |
| | | | | | | table which is incorporated in the code object. This way, the runtime overhead to keep track of line numbers is only incurred when an exception has to be reported. | ||||
* | Remove unused variable. | Guido van Rossum | 1997-01-18 | 1 | -1/+0 |
| | |||||
* | Intern all names and varnames in newcodeobject(), plus those string | Guido van Rossum | 1997-01-18 | 1 | -7/+22 |
| | | | | | literals that look like identifiers. Also intern all strings used as names during the compilation. | ||||
* | Add co_stacksize field to codeobject structure, and stacksize argument | Guido van Rossum | 1997-01-17 | 1 | -62/+253 |
| | | | | | | | | | | | | to PyCode_New() argument list. Move MAXBLOCKS constant to conpile.h. Added accurate calculation of the actual stack size needed by the generated code. Also commented out all fprintf statements (except for a new one to diagnose stack underflow, and one in #ifdef'ed out code), and added some new TO DO suggestions (now that the stacksize is taken of the TO DO list). | ||||
* | Check for duplicate keyword arguments at compile time. | Guido van Rossum | 1997-01-06 | 1 | -12/+20 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -2/+1 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Ellipses -> Ellipsis rename (the dictionary really says that it should | Guido van Rossum | 1996-10-11 | 1 | -1/+1 |
| | | | | | | | | be Ellipsis!). Bumped the API version because a linker-visible symbol is affected. Old C code will still compile -- there's a b/w compat macro. Similarly, old Python code will still run, builtin exports both Ellipses and Ellipsis. | ||||
* | Added line number to most compile-time error messages. | Guido van Rossum | 1996-09-17 | 1 | -88/+90 |
| | |||||
* | Afterthough: leave both leading underscores in, | Guido van Rossum | 1996-08-24 | 1 | -5/+5 |
| | | | | so __spam becomes _ClassName__spam. | ||||
* | Oops need to mangle global statement separately | Guido van Rossum | 1996-08-24 | 1 | -0/+7 |
| | |||||
* | Name mangling, what the heck! | Guido van Rossum | 1996-08-24 | 1 | -3/+80 |
| | |||||
* | Disable support for access statement | Guido van Rossum | 1996-08-12 | 1 | -2/+4 |
| | |||||
* | Removed unused var; added error check for ``lambda: x=1''. | Guido van Rossum | 1996-08-08 | 1 | -1/+5 |
| | |||||
* | Changes for slice and ellipses | Guido van Rossum | 1996-07-30 | 1 | -64/+113 |
| | |||||
* | Py_complex; and WITHOUT_COMPLEX added to getargs.c | Guido van Rossum | 1996-07-21 | 1 | -2/+2 |
| | |||||
* | only use 'j' for imaginary constants | Guido van Rossum | 1996-01-26 | 1 | -1/+1 |
| | |||||
* | Removed unused var | Jack Jansen | 1996-01-25 | 1 | -1/+0 |
| | |||||
* | changes for complex and power (**) operator | Guido van Rossum | 1996-01-12 | 1 | -30/+98 |
| | |||||
* | disable code generation for access statement | Guido van Rossum | 1995-10-08 | 1 | -0/+2 |
| | |||||
* | Removed unused variables | Jack Jansen | 1995-10-03 | 1 | -1/+0 |
| | |||||
* | fix bug with missing default for last arg (discovered by Tommy Burnette) | Guido van Rossum | 1995-09-18 | 1 | -2/+3 |
| | |||||
* | keyword arguments and faster calls | Guido van Rossum | 1995-07-18 | 1 | -206/+280 |
| | |||||
* | 3rd arg for raise; INCOMPLETE keyword parameter passing (currently ↵ | Guido van Rossum | 1995-07-07 | 1 | -22/+78 |
| | | | | f(kw=value) is seen as f('kw', value)) | ||||
* | fix typo (== for =) in assignment | Guido van Rossum | 1995-02-17 | 1 | -1/+1 |
| | |||||
* | use Py_CHARMASK | Guido van Rossum | 1995-02-10 | 1 | -2/+2 |
| | |||||
* | added missing case to get_docstring | Guido van Rossum | 1995-01-26 | 1 | -2/+10 |
| | |||||
* | fix mem leak (localmap in optimize) | Guido van Rossum | 1995-01-20 | 1 | -0/+1 |
| | |||||
* | Two independent chages: | Guido van Rossum | 1995-01-07 | 1 | -27/+156 |
| | | | | | (a) support import NAME.NAME...NAME; (b) support doc strings in modules, classes and function definitions | ||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -2/+2 |
| | | | | | | bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error(). | ||||
* | Lots of changes, most minor (fatal() instead of abort(), use of | Guido van Rossum | 1995-01-02 | 1 | -4/+4 |
| | | | | | | err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c. | ||||
* | set name to <lambda> instead of None for lambdas | Guido van Rossum | 1994-11-10 | 1 | -7/+2 |
| | |||||
* | * Python/compile.c (com_argdefs, com_arglist): avoid referencing | Guido van Rossum | 1994-08-29 | 1 | -156/+303 |
| | | | | CHILD(n,i) for i >= NCH(n) | ||||
* | change syntactical position of lambdef (was an atom, now is a test) | Guido van Rossum | 1993-11-30 | 1 | -25/+28 |
| | |||||
* | * import.c (get_module): pass .py filename to parse_file, not .pyc filename! | Guido van Rossum | 1993-11-30 | 1 | -41/+47 |
| | | | | | | | | | | | * funcobject.c (func_repr): don't call getstringvalue(None) for anonymous functions. * bltinmodule.c: removed lambda (which is now a built-in function); removed implied lambda for string arg to filter/map/reduce. * Grammar, graminit.[ch], compile.[ch]: replaced lambda as built-in function by lambda as grammar entity: instead of "lambda('x: x+1')" you write "lambda x: x+1". * Xtmodule.c (checkargdict): return 0, not NULL, for error. |