Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1440601: Add col_offset attribute to AST nodes. | Martin v. Löwis | 2006-03-01 | 1 | -7/+7 |
| | |||||
* | Make 'as' an actual keyword when with's future statement is used. Not | Thomas Wouters | 2006-02-28 | 1 | -10/+12 |
| | | | | actually necessary for functionality, but good for transition. | ||||
* | from __future__ import with_statement addon for 'with', mostly written by | Thomas Wouters | 2006-02-28 | 1 | -13/+24 |
| | | | | Neal. | ||||
* | Disable the parser hacks that allowed the "yield" keyword to be enabled | Neil Schemenauer | 2002-03-22 | 1 | -0/+10 |
| | | | | by a future statement. | ||||
* | The parser doesn't need its own implementation of assert, and having its | Tim Peters | 2001-12-04 | 1 | -1/+1 |
| | | | | own interfered with including Python.h. Remove Python's assert.h. | ||||
* | Fis SF bug #442647: not all forms of legal future statements were | Guido van Rossum | 2001-07-19 | 1 | -3/+9 |
| | | | | parsed correctly. Now they are. | ||||
* | Preliminary support for "from __future__ import generators" to enable | Guido van Rossum | 2001-07-15 | 1 | -3/+35 |
| | | | | | | | | the yield statement. I figure we have to have this in before I can release 2.2a1 on Wednesday. Note: test_generators is currently broken, I'm counting on Tim to fix this. | ||||
* | Fix a bug in stack overflow error handling. This fixes half of Bug | Guido van Rossum | 2000-10-02 | 1 | -1/+1 |
| | | | | | | | | | | | #115555. The error from s_push() on stack overflow was -1, which was passed through unchanged by push(), but not tested for by push()'s caller -- which only expected positive error codes. Fixed by changing s_push() to return E_NOMEM on stack overflow. (Not quite the proper error code either, but I can't be bothered adding a new E_STACKOVERFLOW error code in all the right places.) | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Mass ANSIfication. | Thomas Wouters | 2000-07-22 | 1 | -53/+13 |
| | | | | | | Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to 'Py_AddPendingCall' by providing a (static) wrapper function that has the right number of arguments. | ||||
* | Create two new exceptions: IndentationError and TabError. These are | Fred Drake | 2000-07-11 | 1 | -1/+11 |
| | | | | | | | used for indentation related errors. This patch includes Ping's improvements for indentation-related error messages. Closes SourceForge patches #100734 and #100856. | ||||
* | Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. | Tim Peters | 2000-07-09 | 1 | -6/+6 |
| | |||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Add new parser error code, E_OVERFLOW. This error is returned when | Jeremy Hylton | 2000-06-20 | 1 | -14/+15 |
| | | | | | | the number of children of a node exceeds the max possible value for the short that is used to count them. The Python runtime converts this parser error into the SyntaxError "expression too long." | ||||
* | Another directory quickly renamed. | Guido van Rossum | 1997-04-29 | 1 | -28/+29 |
| | |||||
* | Rename DEBUG macro to Py_DEBUG | Guido van Rossum | 1996-12-30 | 1 | -5/+5 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -2/+2 |
| | |||||
* | Parser/tokenizer.c (tok_nextc): zap tok->buf after freeing; | Guido van Rossum | 1994-12-30 | 1 | -4/+2 |
| | | | | rest: abort() -> fatal(); small things | ||||
* | Merge back to main trunk | Guido van Rossum | 1994-08-30 | 1 | -1/+1 |
| | |||||
* | * Changed all copyright messages to include 1993. | Guido van Rossum | 1993-03-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions | ||||
* | Correct debug printing code | Guido van Rossum | 1992-09-03 | 1 | -1/+1 |
| | |||||
* | Copyright for 1992 added | Guido van Rossum | 1992-04-05 | 1 | -1/+1 |
| | |||||
* | Added copyright notice. | Guido van Rossum | 1991-02-19 | 1 | -0/+24 |
| | |||||
* | "Compiling" version | Guido van Rossum | 1990-12-20 | 1 | -16/+18 |
| | |||||
* | Free parse tree when deleting parser. | Guido van Rossum | 1990-11-18 | 1 | -2/+3 |
| | |||||
* | Initial revision | Guido van Rossum | 1990-10-14 | 1 | -0/+396 |