Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The cleanup code in com-init() at label fail_0000 should remove | Guido van Rossum | 1999-12-20 | 1 | -1/+1 |
| | | | | c_varnames, not c_lnotab. | ||||
* | Tim Peters writes: | Guido van Rossum | 1999-09-15 | 1 | -1/+1 |
| | | | | | | | | For a long time I've seen absurd tracebacks under -O (e.g., negative line numbers), but very rarely. Since I was looking at tracebacks anyway, thought I'd track it down. Turns out to be Guido's only predictable blind spot <wink -- "char" is signed on some non-GvR systems>. Patch follows. | ||||
* | Implement -OO; "unsafe" optimization that removes docstrings. | Guido van Rossum | 1999-01-28 | 1 | -0/+3 |
| | | | | Marc-Andre Lemburg. | ||||
* | Remove prototypes for PyOS_strto[u]l -- Chris Herborth. | Guido van Rossum | 1998-12-10 | 1 | -3/+0 |
| | |||||
* | Add more SET_LINENO instructions in long argument lists | Guido van Rossum | 1998-12-10 | 1 | -1/+7 |
| | |||||
* | Changes to support other object types besides strings | Guido van Rossum | 1998-10-07 | 1 | -6/+17 |
| | | | | | as the code string of code objects, as long as they support the (readonly) buffer interface. By Greg Stein. | ||||
* | Eh, better error message for the previous change. It now says | Guido van Rossum | 1998-10-02 | 1 | -1/+1 |
| | | | | "non-default argument follows default argument". | ||||
* | Treat def f(a, b=1, c): ... as an error (missing default for c) | Guido van Rossum | 1998-10-02 | 1 | -7/+4 |
| | | | | instead of silently supplying a default of None fore c. | ||||
* | Comment out the print statement about underflow. (This only seems to | Guido van Rossum | 1998-08-25 | 1 | -2/+2 |
| | | | | | | | | happen when you use a non-keyword argument after a keyword argument, and in this case you also get a syntax error. I fully suspect that the underflow is caused by the code that stops generating code when it detects the syntax error, but I can't find the culprit right now. I know, I know.) | ||||
* | Since PyDict_GetItem() can't raise an exception any more, there's no | Guido van Rossum | 1998-05-14 | 1 | -1/+0 |
| | | | | need to call PyErr_Clear() when it returns NULL. | ||||
* | Make first raise argument optional | Guido van Rossum | 1998-04-09 | 1 | -6/+10 |
| | |||||
* | Don't use sscanf(s, "%x", &c) to parse \xX... escapes; hardcode it. | Guido van Rossum | 1997-10-20 | 1 | -3/+10 |
| | |||||
* | Fixed for WITHOUT_COMPLEX compilation (Jack) | Guido van Rossum | 1997-10-08 | 1 | -1/+2 |
| | |||||
* | Cprrect stuoid tyops -- was comparing variabes with themselves because | Guido van Rossum | 1997-08-29 | 1 | -3/+3 |
| | | | | of co/cp mixup. | ||||
* | 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 |
| |