summaryrefslogtreecommitdiff
path: root/Python/exceptions.c
AgeCommit message (Expand)AuthorLines
2004-08-25Stop producing or using OverflowWarning. PEP 237 thought this wouldTim Peters-1/+3
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-1/+1
2003-08-14Fix refcount leak in the UnicodeError constructor:Walter Dörwald-1/+1
2003-08-12Add a unicode prefix to the characters in the UnicodeEncodeError andWalter Dörwald-6/+6
2003-08-12Enhance message for UnicodeEncodeError and UnicodeTranslateError.Walter Dörwald-5/+21
2003-02-24Remove unused variables.Walter Dörwald-9/+0
2003-01-31Provide __module__ attributes for functions defined in C and Python.Jeremy Hylton-6/+14
2002-12-06Patch #614055: Support OpenVMS.Martin v. Löwis-0/+13
2002-11-21Fix PEP 293 related problems with --disable-unicode buildsWalter Dörwald-0/+6
2002-09-18Two more cases of switch(PySequence_Size()) without checking for case -1.Neal Norwitz-0/+7
2002-09-18Fix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz).Guido van Rossum-0/+3
2002-09-03Add a custom __str__ method to KeyError that applies repr() to theGuido van Rossum-2/+40
2002-09-02Removed bogus PyUnicodeTranslateError_GetEncoding, asWalter Dörwald-5/+0
2002-09-02Limit the length of attribute names in exception messagesWalter Dörwald-3/+3
2002-09-02PEP 293 implemention (from SF patch http://www.python.org/sf/432401)Walter Dörwald-0/+603
2002-08-14Added a FutureWarning for constructs that will change semantically inBarry Warsaw-1/+9
2002-07-29Excise DL_IMPORT/EXPORT from object.h, and related files. This patchMark Hammond-2/+2
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-91/+58
2002-05-29As discussed on python-dev, add a mechanism to indicate featuresNeal Norwitz-0/+9
2002-03-28add comment reminding people about class hierarchy in Doc/lib/libexcs.texSkip Montanaro-0/+5
2002-03-03Patch #50002: Display line information for bad \x escapes:Martin v. Löwis-1/+2
2001-11-28Use PyOS_snprintf instead of sprintf.Jeremy Hylton-11/+11
2001-10-05weakref.ReferenceError becomes a built-in exception now that weak ref objectsFred Drake-0/+6
2001-08-23Introduce OverflowWarning -- to be issued when short int operationsGuido van Rossum-0/+7
2001-08-02Merge of descr-branch back into trunk.Tim Peters-10/+23
2001-04-20Iterators phase 1. This comprises:Guido van Rossum-0/+7
2001-04-14Make some private symbols static.Guido van Rossum-2/+2
2001-02-28SyntaxError__init__(): Be a little more robust when picking apart theFred Drake-16/+22
2001-02-28SF patch 404928: Support for next Cygwin gcc (2.95.2-8)Tim Peters-8/+2
2001-01-23Leak pluggin', bug fixin' and better documentin'. Specifically,Barry Warsaw-56/+72
2000-12-15Add definitions for standard warning category classes (PyExc_WarningGuido van Rossum-0/+36
2000-10-24Ka-Ping Yee <ping@lfw.org>:Fred Drake-1/+1
2000-08-18Remove a couple of warnings turned up by "gcc -Wall".Fred Drake-2/+2
2000-08-18SyntaxError__classinit__(): Slight reorg for simplicity.Barry Warsaw-4/+4
2000-08-16SyntaxError__str__(): Fix two memory problems discovered by Insure.Barry Warsaw-4/+9
2000-08-15my_basename(): Removes the leading path components from a path name,Fred Drake-2/+23
2000-08-15SyntaxError__str__(): Do more formatting of the exception here, ratherFred Drake-6/+55
2000-08-15Fix the parent of WindowsError - both the comments in this source file, and t...Mark Hammond-1/+1
2000-07-22Fix two instances of empty argument lists, and fix styleThomas Wouters-79/+78
2000-07-16Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters-1/+1
2000-07-12replace PyXXX_Length calls with PyXXX_Size callsJeremy Hylton-8/+9
2000-07-12Worm around MSVC6 error on single string literal > 2Kb.Tim Peters-2/+7
2000-07-11Create two new exceptions: IndentationError and TabError. These areFred Drake-0/+17
2000-07-09Exception__str__(): In case 1, be sure to decref the tmp localBarry Warsaw-4/+8
2000-07-09EnvironmentError__init__(): The two case clauses were missingBarry Warsaw-3/+9
2000-07-01init_exceptions(): Decref `doc' so it doesn't leak.Barry Warsaw-0/+1
2000-06-30replace constant 1 with symbolic constant METH_VARARGSJeremy Hylton-9/+9
2000-06-20mark SyntaxError__str__ as METH_VARARGSJeremy Hylton-1/+1
2000-05-26The standard exception classes. Moved here from ../Modules/_exceptions.cBarry Warsaw-0/+994