summaryrefslogtreecommitdiff
path: root/Python/errors.c
AgeCommit message (Expand)AuthorLines
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-513/+513
2009-04-05Merged revisions 71058,71149-71150,71212,71214-71216,71222,71225,71234,71237-...Georg Brandl-1/+9
2008-08-26Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as toAntoine Pitrou-1/+0
2008-07-31#2542: now that issubclass() may call arbitrary code,Amaury Forgeot d'Arc-3/+12
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-9/+9
2008-05-26Renamed PyString to PyBytesChristian Heimes-9/+9
2008-04-12Re-implement the 'warnings' module in C. This allows for usage of theBrett Cannon-75/+0
2008-01-03Modified PyImport_Import and PyImport_ImportModule to always use absolute imp...Christian Heimes-1/+1
2007-09-07Fix a crasher where Python code managed to infinitely recurse in C code withoutBrett Cannon-0/+8
2007-02-26SF #1669182, 2.5 was already fixed. Just assert in 2.6 since string exceptionsNeal Norwitz-2/+3
2007-02-26When printing an unraisable error, don't print exceptions. before the name.Neal Norwitz-1/+2
2007-01-05Prevent crash on shutdown which can occur if we are finalizingNeal Norwitz-1/+2
2006-10-04Forward-port of r52136,52138: 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