summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/exceptions.rst
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in multiple `.rst` files (#1668)delirious-lettuce2017-05-191-4/+4
|
* bpo-19225: Remove duplicated description for standard warning categories ↵cocoatomo2017-04-151-12/+9
| | | | (GH-1068)
* bpo-19225: Add a table of warning names and missed exception names in C API ↵cocoatomo2017-04-021-56/+149
| | | | | doc (#881) Move the `.. index` directive to more appropriate place.
* Merge from 3.5.Serhiy Storchaka2016-12-251-1/+1
|\
| * Issue #29068: Fixed a typo in PyErr_Fetch example.Serhiy Storchaka2016-12-251-1/+1
| | | | | | | | Patch by Chi Hsuan Yen.
* | Issue #28635: Fix a couple of missing/incorrect versionchanged tagsYury Selivanov2016-11-101-1/+1
| | | | | | | | Patch by Elvis Pranskevichus.
* | Issue #15767: Use ModuleNotFoundError.Eric Snow2016-09-071-0/+7
| |
* | Issue #15767: Add ModuleNotFoundError.Eric Snow2016-09-071-0/+2
| |
* | Issue #15984: Merge PyUnicode doc from 3.5Martin Panter2016-04-151-2/+2
|\ \ | |/
| * Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-2/+2
| | | | | | | | This affects documentation, code comments, and a debugging messages.
* | On ResourceWarning, log traceback where the object was allocatedVictor Stinner2016-03-191-0/+8
|/ | | | | | | | | | Issue #26567: * Add a new function PyErr_ResourceWarning() function to pass the destroyed object * Add a source attribute to warnings.WarningMessage * Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where source object was allocated.
* Issue #22836: Keep exception reports sensible despite errorsMartin Panter2016-02-281-2/+2
|
* Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-3/+9
|
* Fixed documentation of functions with const char* arguments.Serhiy Storchaka2015-06-211-4/+4
|\
| * Fixed documentation of functions with const char* arguments.Serhiy Storchaka2015-06-211-4/+4
| |
* | Added the const qualifier for char* argument of Py_EnterRecursiveCall().Serhiy Storchaka2015-06-211-1/+1
|\ \ | |/
| * Added the const qualifier for char* argument of Py_EnterRecursiveCall().Serhiy Storchaka2015-06-211-1/+1
| |
* | merge 3.4 (#23221)Benjamin Peterson2015-01-131-1/+1
|\ \ | |/
| * fix instances of consecutive articles (closes #23221)Benjamin Peterson2015-01-131-1/+1
| | | | | | | | Patch by Karan Goel.
* | Doc: fix default role usage (except in unittest mock docs)Georg Brandl2014-10-301-1/+1
| |
* | merge with 3.4Georg Brandl2014-10-061-1/+1
|\ \ | |/
| * Closes #22565: fix argument types of PyErr_WarnEx.Georg Brandl2014-10-061-1/+1
| |
* | Reorganize C API docs of the exception APIAntoine Pitrou2014-09-301-151/+191
| |
* | Issue #18711: Add a new `PyErr_FormatV` function, similar to `PyErr_Format` ↵Antoine Pitrou2014-09-301-0/+8
| | | | | | | | but accepting a `va_list` argument.
* | Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets.Victor Stinner2014-07-291-3/+8
| | | | | | | | A side effect is that Python depends to the WinSock library.
* | Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/Victor Stinner2014-07-241-10/+3
| |
* | tetsVictor Stinner2014-07-241-3/+10
|/
* Get rid of deprecated IOError in the docAndrew Svetlov2014-03-311-2/+2
|
* Fix a few scoping issues with versionadded/versionchanged directives.Georg Brandl2014-03-241-4/+4
|
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-4/+4
|
* Issue #20517: Removed unnecessary new (short-lived) functions from PyErr.Larry Hastings2014-02-101-25/+0
|
* Issue #20517: Functions in the os module that accept two filenamesLarry Hastings2014-02-101-7/+43
| | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one.
* Close #20105: set __traceback__ when chaining exceptions in CNick Coghlan2014-01-261-0/+10
|
* Close #11619: The parser and the import machinery do not encode UnicodeVictor Stinner2013-08-261-11/+25
| | | | filenames anymore on Windows.
* Issue #18589: fix hyperlinking of type slots (tp_*)Antoine Pitrou2013-08-011-6/+6
|
* Closes #13638: document PyErr_SetFromErrnoWithFilenameObject,Georg Brandl2013-04-141-11/+29
| | | | | | | PyErr_SetFromWindowsErrWithFilenameObject, and PyErr_SetExcFromWindowsErrWithFilenameObject. Note that PyErr_SetExcFromWindowsErrWithFilenameObjectAndSomeOtherParametersSoThatTheNameGetsSoLongThatNobodyIsEverGonnaUseThisStrangeFunctionForAnything is still undocumented.
* PEP 415: Implement suppression of __context__ display with an exception ↵Benjamin Peterson2012-05-151-7/+1
| | | | | | attribute This replaces the original PEP 409 implementation. See #14133.
* Fix location of versionaddeds and empty lines.Georg Brandl2012-04-241-3/+6
|
* Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.Martin v. Löwis2012-04-191-0/+35
| | | | Patch by Stefan Behnel.
* Fix #14600. Correct reference handling and naming of ImportError convenience ↵Brian Curtin2012-04-171-19/+4
| | | | function
* Add versionadded tags to newly added ImportError convenience functions.Brian Curtin2012-04-161-0/+5
|
* Add documentation for the new PyErr_SetFromImport* functionsBrian Curtin2012-04-161-0/+18
|
* Close issue #6210: Implement PEP 409Nick Coghlan2012-02-261-6/+13
|
* Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\
* | Update index entriesAntoine Pitrou2011-10-121-3/+17
| |
* | Update the C-API docs for exception typesAntoine Pitrou2011-10-121-59/+110
|/
* Clarify that PyErr_NewException creates an exception *class*, not instance.Georg Brandl2011-07-131-3/+3
|
* Issue #9738: Fix typo, ASCII-encoding string => ASCII-encoded stringVictor Stinner2010-12-281-1/+1
|
* Issue #10780: PyErr_SetFromWindowsErrWithFilename() andVictor Stinner2010-12-281-2/+3
| | | | | PyErr_SetExcFromWindowsErrWithFilename() decode the filename from the filesystem encoding instead of UTF-8.
* Issue #10779: PyErr_WarnExplicit() decodes the filename from the filesystemVictor Stinner2010-12-271-2/+3
| | | | encoding instead of UTF-8.