summaryrefslogtreecommitdiff
path: root/Python/errors.c
AgeCommit message (Expand)AuthorLines
2016-04-10Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka-2/+2
2016-04-06Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka-2/+2
2016-03-03Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.Serhiy Storchaka-1/+1
2016-02-28Issue #22836: Keep exception reports sensible despite errorsMartin Panter-2/+8
2015-12-27Issue #20440: More use of Py_SETREF.Serhiy Storchaka-8/+5
2015-03-30Issue #23781: Add private helper function _PyErr_ReplaceException() thatSerhiy Storchaka-0/+20
2011-12-07Issue #13546: Fixed an overflow issue that could crash the intepreter whenAmaury Forgeot d'Arc-2/+4
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-541/+541
2009-12-28#7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new ...Georg Brandl-0/+34
2009-06-12Add const qualifier to PyErr_SetFromErrnoWithFilename and toAlexandre Vassalotti-2/+2
2009-05-17Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more.Hirokazu Yamamoto-6/+2
2009-04-02PyErr_NormalizeException may not set an error, so convert the PyErr_SetObjectGeorg Brandl-1/+9
2009-04-02In PyErr_GivenExceptionMatches, temporarily bump the recursionGeorg Brandl-1/+7
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