Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Call PyObject_GC_UnTrack before putting an object on the list of trash. | Neil Schemenauer | 2002-03-29 | 1 | -2/+2 |
| | |||||
* | Use PyOS_snprintf instead of sprintf. | Jeremy Hylton | 2001-11-28 | 1 | -1/+1 |
| | |||||
* | SF bug 485175: buffer overflow in traceback.c. | Tim Peters | 2001-11-27 | 1 | -3/+3 |
| | | | | | | | Bugfix candidate. tb_displayline(): the sprintf format was choking off the file name, but used plain %s for the function name (which can be arbitrarily long). Limit both to 500 chars max. | ||||
* | Make traceback objects collectable. | Jeremy Hylton | 2001-10-22 | 1 | -2/+46 |
| | | | | | This should eliminate the traceback returned by sys.exc_info() as a common source of memory leaks. | ||||
* | Removed two pointless and obfuscating macros. | Tim Peters | 2001-10-22 | 1 | -7/+4 |
| | |||||
* | 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 of function definitions. Doesn't cover all 'extern' | Thomas Wouters | 2000-07-22 | 1 | -23/+8 |
| | | | | declarations yet, those come later. | ||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -21/+6 |
| | |||||
* | Trent Mick's Win64 changes: size_t vs. int or long; also some overflow | Guido van Rossum | 2000-06-28 | 1 | -3/+3 |
| | | | | tests. | ||||
* | Vladimir Marangozov's long-awaited malloc restructuring. | Guido van Rossum | 2000-05-03 | 1 | -1/+1 |
| | | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.) | ||||
* | Change traceback error message to "most recent call last" from | Guido van Rossum | 2000-03-31 | 1 | -1/+1 |
| | | | | "innermost last". The latter was mysterious to newbies. | ||||
* | Christian Tismer's "trashcan" patch: | Guido van Rossum | 2000-03-13 | 1 | -0/+2 |
| | | | | | | | | Added wrapping macros to dictobject.c, listobject.c, tupleobject.c, frameobject.c, traceback.c that safely prevends core dumps on stack overflow. Macros and functions in object.c, object.h. The method is an "elevator destructor" that turns cascading deletes into tail recursive behavior when some limit is hit. | ||||
* | Tim Peters fixed PR#75: very long lines cause incorrect tracebacks. | Guido van Rossum | 1999-09-18 | 1 | -2/+11 |
| | |||||
* | PyFile_WriteString now returns an error indicator instead of calling | Guido van Rossum | 1997-05-22 | 1 | -14/+30 |
| | | | | PyErr_Clear(). Add checking of those errors. | ||||
* | Massive changes for separate thread state management. | Guido van Rossum | 1997-05-05 | 1 | -30/+6 |
| | | | | | All per-thread globals are moved into a struct which is manipulated separately. | ||||
* | Only use PyCode_Addr2Line to get tb_lineno when Py_OptimizeFlag is set. | Guido van Rossum | 1997-05-05 | 1 | -2/+3 |
| | |||||
* | Quickly renamed. | Guido van Rossum | 1997-04-29 | 1 | -57/+57 |
| | |||||
* | Keep gcc -Wall and Microsoft VC happy. | Guido van Rossum | 1997-04-11 | 1 | -1/+1 |
| | |||||
* | Get the line number from PyCode_Addr2Line instead of believing | Guido van Rossum | 1997-01-24 | 1 | -1/+4 |
| | | | | tb_lineno. Store it in tb_lineno for the user. | ||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -12/+19 |
| | |||||
* | spell TraceBack with capital B | Guido van Rossum | 1995-09-18 | 1 | -2/+2 |
| | |||||
* | keyword arguments and faster calls | Guido van Rossum | 1995-07-18 | 1 | -3/+4 |
| | |||||
* | ignore control-l (parallelling change to tokenizer.c) | Guido van Rossum | 1995-07-07 | 1 | -1/+1 |
| | |||||
* | 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 | -1/+0 |
| | | | | | | 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. | ||||
* | * Python/traceback.c: security fix -- check for buffer oveflow | Guido van Rossum | 1994-09-29 | 1 | -1/+6 |
| | | | | before concatenating sys.path item and module name | ||||
* | add function name to traceback info | Guido van Rossum | 1994-08-29 | 1 | -15/+15 |
| | | | | MPW fixes | ||||
* | * mpzmodule.c: cast some methods to the proper type. | Guido van Rossum | 1993-12-17 | 1 | -5/+23 |
| | | | | | | | * traceback.c (tb_print): use sys.tracebacklimit as a maximum number of traceback entries to print (default 1000). * ceval.c (printtraceback): Don't print stack trace header -- this is now done by tb_print(). | ||||
* | * 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 | ||||
* | Modified most (but not yet all) I/O to always go through sys.stdout or | Guido van Rossum | 1992-09-25 | 1 | -16/+19 |
| | | | | | | sys.stderr or sys.stdin, and to work with any object as long as it has a write() (respectively readline()) methods. Some functions that took a FILE* argument now take an object* argument. | ||||
* | Copyright for 1992 added | Guido van Rossum | 1992-04-05 | 1 | -1/+1 |
| | |||||
* | Move printing of filename and lineno to tb_displayline. | Guido van Rossum | 1992-02-26 | 1 | -20/+45 |
| | | | | | Search sys.path if the filename isn't found. Include osdefs.h. | ||||
* | tb_here() can now get the lasti and lineno arguments from the frame. | Guido van Rossum | 1992-01-14 | 1 | -4/+2 |
| | |||||
* | Don't use printobject() to print a string (filename). | Guido van Rossum | 1991-06-24 | 1 | -7/+10 |
| | | | | Print ';' instead of ',' between file and line for MPW. | ||||
* | printobject now returns an error code | Guido van Rossum | 1991-06-07 | 1 | -4/+6 |
| | |||||
* | Added copyright notice. | Guido van Rossum | 1991-02-19 | 1 | -0/+24 |
| | |||||
* | "Compiling" version | Guido van Rossum | 1990-12-20 | 1 | -0/+193 |