summaryrefslogtreecommitdiff
path: root/Python/errors.c
AgeCommit message (Expand)AuthorLines
2007-02-26Fix SF bug #1669182. Handle string exceptions even if unraisable (ie in __de...Neal Norwitz-1/+5
2007-01-05Backport:Neal Norwitz-1/+2
2006-10-04Forward-port of r52136: a review of overflow-detecting code.Armin Rigo-1/+2
2006-08-04On Windows, make PyErr_Warn an exported function again.Thomas Heller-1/+1
2006-07-30Add PyErr_WarnEx() so C code can pass the stacklevel to warnings.warn().Neal Norwitz-2/+13
2006-05-29Fix #1494605.Georg Brandl-1/+2
2006-05-28PyErr_Display(), PyErr_WriteUnraisable(): Coverity found a cut-and-pasteTim Peters-5/+8
2006-05-27Conversion of exceptions over from faked-up classes to new-style C types.Richard Jones-20/+15
2006-05-25Replace tab inside comment with space.Walter Dörwald-1/+1
2006-05-23PyErr_NewException now accepts a tuple of base classes as itsGeorg Brandl-3/+10
2006-04-17moduleName can be NULLNeal Norwitz-1/+1
2006-04-15Add missing DECREF to PyErr_WriteUnraisable(). That function reportsThomas Wouters-0/+1
2006-04-13spread the extern "C" { } magic pixie dust around. Python itself builds nowAnthony Baxter-0/+10
2006-03-01PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon-23/+43
2006-02-28Updates to the with-statement:Guido van Rossum-0/+1
2006-02-27PyErr_ProgramText(): Grrrrrr.Tim Peters-1/+1
2006-02-16Use Py_ssize_t to count theMartin v. Löwis-1/+1
2005-01-18-X died some time ago; remove a tiny bit of associated cruft.Michael W. Hudson-4/+0
2004-03-24Changed random calls to PyThreadState_Get() to use the macroNicholas Bastin-1/+1
2003-11-20Getting rid of all the code inside #ifdef macintosh too.Jack Jansen-6/+0
2003-10-25Made function declaration a proper C prototypeArmin Rigo-1/+1
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-3/+3
2003-07-15Fix [ 771097 ] frozen programs fail due to implicit import of "warnings".Mark Hammond-3/+4
2003-04-10PyErr_NormalizeException(): in the type==NULL test, we should simplyGuido van Rossum-3/+2
2003-02-19Fix bug 683658 - PyErr_Warn may cause import deadlock.Mark Hammond-5/+4
2002-12-11Constify filenames and scripts. Fixes #651362.Martin v. Löwis-5/+5
2002-10-04Fix [ 616716 ] Bug in PyErr_SetExcFromWindowsMark Hammond-9/+28
2002-10-04Fix errors to pep277 checkin identified by Neal Norwitz.Mark Hammond-3/+3
2002-10-03Patch 594001: PEP 277 - Unicode file name support for Windows NT.Mark Hammond-10/+82
2002-07-29New functions for extension writers on Windows:Thomas Heller-3/+17
2002-06-30Patch #569753: Remove support for WIN16.Martin v. Löwis-4/+4
2002-04-14Mass checkin of universal newline support.Jack Jansen-2/+2
2002-03-09Patch #494045: patches errno and stat to cope on plan9.Martin v. Löwis-1/+9
2002-03-03Patch #50002: Display line information for bad \x escapes:Martin v. Löwis-1/+23
2001-10-02SF bug [#467265] Compile errors on SuSe Linux on IBM/s390.Tim Peters-1/+1
2001-09-26PyErr_NormalizeException()Jeremy Hylton-1/+12
2001-08-24PyErr_Format(): Factor out most of this code intoBarry Warsaw-114/+1
2001-05-30PyErr_Occurred(): Use PyThreadState_GET(), which saves a tiny function callTim Peters-1/+1
2001-03-06Use Py_CHARMASK for ctype macros. Fixes bug #232787.Martin v. Löwis-4/+4
2001-02-28Add PyErr_WarnExplicit(), which calls warnings.warn_explicit(), withGuido van Rossum-0/+42
2001-02-28Improve SyntaxErrors for bad future statements. Set file and locationJeremy Hylton-0/+79
2000-12-15Add PyErr_Warn().Guido van Rossum-0/+34
2000-10-24Ka-Ping Yee <ping@lfw.org>:Fred Drake-1/+1
2000-10-10Avoid a couple of "value computed is not used" warnings from gcc -Wall;Fred Drake-2/+2
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-09-01code part of patch #100895 by Fredrik LundhJeremy Hylton-4/+124
2000-09-01refactor __del__ exception handler into PyErr_WriteUnraisableJeremy Hylton-0/+27
2000-08-24Improve the exceptions raised by PyErr_BadInternalCall(); adding theFred Drake-2/+15
2000-08-18Do not set a MemoryError exception over another MemoryError exception,Vladimir Marangozov-0/+4
2000-08-07Avoid dumping core when PyErr_NormalizeException() is called withoutGuido van Rossum-0/+6