summaryrefslogtreecommitdiff
path: root/Objects/exceptions.c
AgeCommit message (Expand)AuthorLines
2019-04-09bpo-30134: fix BytesWarning doc, docstring and message (GH-12739)Inada Naoki-2/+2
2017-09-13consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson-14/+7
2016-07-28Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter-3/+3
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-17/+17
2015-12-27Issue #20440: More use of Py_SETREF.Serhiy Storchaka-6/+8
2015-12-27Issue #20440: Applied yet one patch for using Py_SETREF.Serhiy Storchaka-35/+22
2015-12-24Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka-5/+3
2014-04-02bail in unicode error's __str__ methods if the objects are not properly initi...Benjamin Peterson-0/+12
2013-03-03Issue #16445: Fix potential segmentation fault when deleting an exception mes...Mark Dickinson-2/+1
2012-02-10this is only a borrowed ref in Brett's branchBenjamin Peterson-1/+1
2012-02-06bltinmod is borrowed, so it shouldn't be decrefedBenjamin Peterson-1/+0
2012-02-03put returns on their own linesBenjamin Peterson-6/+12
2010-06-22remove INT_MAX assertions; they can fail with large Py_ssize_t #9058Benjamin Peterson-3/+0
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-24/+24
2010-02-24Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, Uni...Eric Smith-34/+76
2009-12-24#6108: unicode(exception) and str(exception) should return the same messageEzio Melotti-0/+15
2009-09-16#6844: do not emit DeprecationWarnings on access if Exception.message has bee...Georg Brandl-18/+39
2009-06-16Remove unused macro.Georg Brandl-1/+0
2009-06-12Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini.Alexandre Vassalotti-2/+2
2009-02-10Issue 4804. Add a function to test the validity of file descriptors on Windo...Kristján Valur Jónsson-34/+0
2009-01-17#4077: No need to append \n when calling Py_FatalErrorAmaury Forgeot d'Arc-1/+1
2008-07-30backport r64751Benjamin Peterson-0/+2
2008-07-08Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing...Nick Coghlan-0/+25
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-48/+48
2008-05-26Renamed PyString to PyBytesChristian Heimes-48/+48
2008-04-27A little reformating of Py3k warningsBenjamin Peterson-6/+4
2008-04-27Use PyErr_WarnPy3k throughoutBenjamin Peterson-12/+6
2008-03-26Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,...Christian Heimes-0/+8
2008-03-25Make Py3k warnings consistent w.r.t. punctuation; also respect theGeorg Brandl-8/+8
2008-03-18Finish backporting new buffer API to Python 2.6. Left to do: memoryview obje...Travis E. Oliphant-0/+5
2008-03-18- Issue 2379: Raise a Py3K warning for __getitem__ or __getslice__ onGuido van Rossum-0/+12
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-12/+12
2007-12-03Patch #1537 from Chad AustinChristian Heimes-2/+2
2007-09-07Fix a crasher where Python code managed to infinitely recurse in C code withoutBrett Cannon-0/+29
2007-08-21Revert accidental checkins from last commit.Georg Brandl-32/+6
2007-08-21Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers.Georg Brandl-6/+32
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-12/+12
2007-06-13Add T_PYSSIZET in structmember.h: This can be used forWalter Dörwald-166/+102
2007-05-17Complete deprecation of BaseException.message. Some subclasses were directlyBrett Cannon-10/+0
2007-05-05Deprecate BaseException.message as per PEP 352.Brett Cannon-8/+34
2007-04-11Add some missing NULL checks which trigger crashes on low-memory conditions.Georg Brandl-0/+2
2007-02-25Variation of patch # 1624059 to speed up checking if an object is a subclassNeal Norwitz-1/+2
2006-10-27WindowsError.str should display the windows error code,Thomas Heller-7/+7
2006-09-30Bug #1566800: make sure that EnvironmentError can be called with anyGeorg Brandl-1/+1
2006-09-20Allow exceptions to be directly sliced againBrett Cannon-1/+8
2006-09-09Remove the __unicode__ method from exceptions. Allows unicode() to be calledBrett Cannon-17/+0
2006-09-06Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.Georg Brandl-2/+8
2006-08-14Slightly revised version of patch #1538956:Marc-André Lemburg-0/+10
2006-07-03Fix build problems with the platform SDK on windows. It is not sufficient to...Kristján Valur Jónsson-3/+3