Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327) | xdegaye | 2017-10-26 | 1 | -32/+0 |
| | |||||
* | bpo-31497: Add private helper _PyType_Name(). (#3630) | Serhiy Storchaka | 2017-09-17 | 1 | -7/+1 |
| | | | | This function returns the last component of tp_name after a dot. Returns tp_name itself if it doesn't contain a dot. | ||||
* | bpo-30860: Consolidate stateful runtime globals. (#3397) | Eric Snow | 2017-09-08 | 1 | -0/+2 |
| | | | | | | | * group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py). | ||||
* | bpo-31161: only check for parens error for SyntaxError (#3082) | Martijn Pieters | 2017-08-22 | 1 | -5/+10 |
| | | | | Subclasses such as IndentError and TabError should not have this message applied. | ||||
* | bpo-30597: Show expected input in custom 'print' error message. (#2009) | Sanyam Khurana | 2017-06-20 | 1 | -3/+45 |
| | |||||
* | bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096) | Serhiy Storchaka | 2017-04-19 | 1 | -1/+1 |
| | | | | | | raised an error. Replace them with using concrete types API that never fails if appropriate. | ||||
* | bpo-29998: Pickling and copying ImportError now preserves name and path (#1010) | Serhiy Storchaka | 2017-04-08 | 1 | -0/+48 |
| | | | attributes. | ||||
* | bpo-29927: Remove duplicate BufferError init and unnecessary semicolons (GH-866) | Louie Lu | 2017-03-29 | 1 | -53/+51 |
| | |||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -4/+2 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Issue #28511: Use the "U" format instead of "O!" in PyArg_Parse*. | Serhiy Storchaka | 2016-10-23 | 1 | -23/+10 |
| | |||||
* | Issue #28289: ImportError.__init__ now resets not specified attributes. | Serhiy Storchaka | 2016-09-28 | 1 | -9/+7 |
| | |||||
* | Issue #21578: Fixed misleading error message when ImportError called with | Serhiy Storchaka | 2016-09-27 | 1 | -22/+24 |
|\ | | | | | | | invalid keyword args. | ||||
| * | Issue #21578: Fixed misleading error message when ImportError called with | Serhiy Storchaka | 2016-09-27 | 1 | -22/+24 |
| | | | | | | | | invalid keyword args. | ||||
* | | Issue #15767: Add ModuleNotFoundError. | Eric Snow | 2016-09-07 | 1 | -0/+9 |
| | | |||||
* | | Merge | Raymond Hettinger | 2016-08-26 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue 19504: Change "customise" to "customize" American spelling. | Raymond Hettinger | 2016-08-26 | 1 | -1/+1 |
| | | |||||
* | | Issue #27692: Removed unnecessary NULL checks in exceptions.c. | Serhiy Storchaka | 2016-08-20 | 1 | -4/+3 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | Issue #27652: Expose ESHUTDOWN conditionally | Berker Peksag | 2016-07-30 | 1 | -0/+2 |
| | | | | | | | | | | | | ESHUTDOWN is also exposed conditionally in Modules/errnomodule.c. Patch by Ed Schouten. | ||||
* | | Issue #27626: Merge spelling fixes from 3.5 | Martin Panter | 2016-07-28 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -3/+3 |
| | | | | | | | | Based on patch by Ville Skyttä. | ||||
* | | Issue #27171: Merge typo fixes from 3.5 | Martin Panter | 2016-06-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -19/+19 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -16/+16 |
| | | |||||
* | | Issue #20440: Cleaning up the code by using Py_SETREF. | Serhiy Storchaka | 2016-01-05 | 1 | -14/+8 |
|/ | |||||
* | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -9/+10 |
| | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -32/+20 |
| | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
| | | | | macro Py_SETREF. | ||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 1 | -6/+13 |
| | | |||||
* | | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -0/+9 |
| | | |||||
* | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 1 | -13/+17 |
|\ \ | |/ | | | | | and PyObject_AsWriteBuffer(). | ||||
| * | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 1 | -13/+17 |
| | | | | | | | | and PyObject_AsWriteBuffer(). | ||||
* | | Issue #22156: Fix "comparison between signed and unsigned integers" compiler | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
|/ | | | | | | | warnings in the Objects/ subdirectory. PyType_FromSpecWithBases() and PyType_FromSpec() now reject explicitly negative slot identifiers. | ||||
* | Issue #21669: Special case print & exec syntax errors | Nick Coghlan | 2014-06-16 | 1 | -0/+135 |
| | |||||
* | Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format | Victor Stinner | 2014-04-04 | 1 | -1/+1 |
| | | | | character for the "end" parameter | ||||
* | bail in unicode error's __str__ methods if the objects are not properly ↵ | Benjamin Peterson | 2014-04-02 | 1 | -0/+12 |
| | | | | initialized (closes #21134) | ||||
* | Issue #20517: Removed unnecessary new (short-lived) functions from PyErr. | Larry Hastings | 2014-02-10 | 1 | -2/+2 |
| | |||||
* | Issue #20517: Functions in the os module that accept two filenames | Larry Hastings | 2014-02-10 | 1 | -33/+86 |
| | | | | | | 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 C | Nick Coghlan | 2014-01-26 | 1 | -2/+5 |
| | |||||
* | Issue #16136: Remove VMS support and VMS-related code | Christian Heimes | 2013-12-21 | 1 | -6/+0 |
| | |||||
* | Also chain codec exceptions that allow weakrefs | Nick Coghlan | 2013-11-19 | 1 | -3/+14 |
| | | | | | | | The zlib and hex codecs throw custom exception types with weakref support if the input type is valid, but the data fails validation. Make sure the exception chaining in the codec infrastructure can wrap those as well. | ||||
* | Don't decref exc too soon | Nick Coghlan | 2013-11-15 | 1 | -1/+2 |
| | |||||
* | Issue #19429, #19437: fix error handling in the OSError constructor | Victor Stinner | 2013-11-14 | 1 | -3/+5 |
| | |||||
* | fix refleaks | Benjamin Peterson | 2013-11-14 | 1 | -3/+7 |
| | |||||
* | adjust style | Benjamin Peterson | 2013-11-14 | 1 | -12/+8 |
| | |||||
* | Issue #17828: _PyObject_GetDictPtr() may return NULL instead of a PyObject** | Christian Heimes | 2013-11-14 | 1 | -3/+5 |
| | | | | CID 1128792: Dereference null return value (NULL_RETURNS) | ||||
* | Issue #17828: va_start() must be accompanied by va_end() | Christian Heimes | 2013-11-14 | 1 | -6/+7 |
| | | | | CID 1128793: Missing varargs init or cleanup (VARARGS) | ||||
* | Close #17828: better handling of codec errors | Nick Coghlan | 2013-11-13 | 1 | -0/+113 |
| | | | | | | | | - output type errors now redirect users to the type-neutral convenience functions in the codecs module - stateless errors that occur during encoding and decoding will now be automatically wrapped in exceptions that give the name of the codec involved |