| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-11 | [3.6] bpo-35454: Fix miscellaneous minor issues in error handling. ↵ | Serhiy Storchaka | -2/+4 | |
| (GH-11077) (GH-11106) (cherry picked from commit 8905fcc85a6fc3ac394bc89b0bbf40897e9497a6) | ||||
| 2018-04-06 | bpo-33231: Fix potential leak in normalizestring() (GH-6386) | Miss Islington (bot) | -2/+0 | |
| (cherry picked from commit 0c1c4563a65ac451021d927058e4f25013934eb2) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> | ||||
| 2016-04-15 | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | -2/+2 | |
| This affects documentation, code comments, and a debugging messages. | ||||
| 2015-09-03 | Issue #24993: Handle import error in namereplace error handler | Victor Stinner | -7/+5 | |
| Handle PyCapsule_Import() failure (exception) in PyCodec_NameReplaceErrors(): return immedialty NULL. | ||||
| 2015-05-30 | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | -5/+6 | |
| PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | ||||
| 2015-05-30 | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | -5/+6 | |
| PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | ||||
| 2015-05-18 | Issue #24102: Fixed exception type checking in standard error handlers. | Serhiy Storchaka | -27/+21 | |
| 2015-05-18 | Issue #24102: Fixed exception type checking in standard error handlers. | Serhiy Storchaka | -24/+18 | |
| 2015-02-16 | Issue #23450: Fixed possible integer overflows. | Serhiy Storchaka | -1/+1 | |
| 2015-01-25 | Issue #22286: The "backslashreplace" error handlers now works with | Serhiy Storchaka | -53/+91 | |
| decoding and translating. | ||||
| 2014-11-26 | correct assertion | Benjamin Peterson | -1/+1 | |
| 2014-11-26 | fix variable name | Benjamin Peterson | -1/+1 | |
| 2014-11-26 | Issue #19676: Fixed integer overflow issue in "namereplace" error handler. | Serhiy Storchaka | -5/+11 | |
| 2014-11-25 | Issue #19676: Added the "namereplace" error handler. | Serhiy Storchaka | -0/+108 | |
| 2014-10-04 | Issue #22518: Fixed integer overflow issues in "backslashreplace", | Serhiy Storchaka | -2/+8 | |
| "xmlcharrefreplace", and "surrogatepass" error handlers. | ||||
| 2014-10-04 | Issue #22518: Fixed integer overflow issues in "backslashreplace", | Serhiy Storchaka | -2/+8 | |
| "xmlcharrefreplace", and "surrogatepass" error handlers. | ||||
| 2014-09-23 | Fixed reference leak in the "backslashreplace" error handler. | Serhiy Storchaka | -1/+3 | |
| 2014-09-23 | Fixed reference leak in the "backslashreplace" error handler. | Serhiy Storchaka | -1/+3 | |
| 2014-09-15 | Merge fix for issue #22166 from 3.4 | Nick Coghlan | -0/+26 | |
| 2014-09-15 | Issue #22166: clear codec caches in test_codecs | Nick Coghlan | -0/+26 | |
| 2014-05-16 | Issue #13916: Fix surrogatepass error handler on Windows | Victor Stinner | -0/+4 | |
| 2014-05-15 | Issue #13916: Disallowed the surrogatepass error handler for non UTF-* | Serhiy Storchaka | -4/+19 | |
| encodings. | ||||
| 2014-02-04 | Close #20404: blacklist non-text encodings in io.TextIOWrapper | Nick Coghlan | -21/+63 | |
| - io.TextIOWrapper (and hence the open() builtin) now use the internal codec marking system added for issue #19619 - also tweaked the C code to only look up the encoding once, rather than multiple times - the existing output type checks remain in place to deal with unmarked third party codecs. | ||||
| 2013-11-22 | Issue #19619: Blacklist non-text codecs in method API | Nick Coghlan | -16/+122 | |
| str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. | ||||
| 2013-11-19 | Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates. | Serhiy Storchaka | -17/+146 | |
| The utf-16* and utf-32* encoders no longer allow surrogate code points (U+D800-U+DFFF) to be encoded. The utf-32* decoders no longer decode byte sequences that correspond to surrogate code points. The surrogatepass error handler now works with the utf-16* and utf-32* codecs. Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu. | ||||
| 2013-11-15 | Close 19609: narrow scope of codec exc chaining | Nick Coghlan | -4/+6 | |
| 2013-11-13 | Close #17828: better handling of codec errors | Nick Coghlan | -0/+18 | |
| - 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 | ||||
| 2013-10-19 | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | -2/+2 | |
| 2013-08-13 | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | -2/+2 | |
| 2013-07-12 | Issue #18408: normalizestring() now raises MemoryError on memory allocation ↵ | Victor Stinner | -1/+1 | |
| failure | ||||
| 2012-12-25 | Issue #15422: get rid of PyCFunction_New macro | Andrew Svetlov | -1/+1 | |
| 2012-11-03 | #16336: merge with 3.3. | Ezio Melotti | -4/+4 | |
| 2012-11-03 | #16336: merge with 3.2. | Ezio Melotti | -4/+4 | |
| 2012-11-03 | #16336: fix input checking in the surrogatepass error handler. Patch by ↵ | Ezio Melotti | -4/+4 | |
| Serhiy Storchaka. | ||||
| 2012-10-30 | Issue #16330: Use surrogate-related macros | Victor Stinner | -2/+2 | |
| Patch written by Serhiy Storchaka. | ||||
| 2012-10-26 | merge with 3.2 | Philip Jenvey | -3/+4 | |
| 2012-10-26 | bounds check for bad data (thanks amaury) | Philip Jenvey | -3/+4 | |
| 2012-04-27 | Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) | Victor Stinner | -4/+6 | |
| * In debug mode, fill the string data with invalid characters * Simplify also reference counting in PyCodec_BackslashReplaceErrors() and PyCodec_XMLCharRefReplaceError() | ||||
| 2012-01-18 | Issue #13722: Avoid silencing ImportErrors when initializing the codecs ↵ | Antoine Pitrou | -9/+0 | |
| registry. | ||||
| 2012-01-18 | Issue #13722: Avoid silencing ImportErrors when initializing the codecs ↵ | Antoine Pitrou | -9/+0 | |
| registry. | ||||
| 2011-12-01 | PyCodec_IgnoreErrors() avoids the deprecated "u#" format | Victor Stinner | -2/+1 | |
| 2011-11-04 | Avoid the Py_UNICODE type in codecs.c | Victor Stinner | -4/+11 | |
| 2011-11-04 | PyCodec_XMLCharRefReplaceError(): Remove unused variable | Victor Stinner | -2/+2 | |
| 2011-11-04 | Fix C89 incompatibility. | Martin v. Löwis | -1/+1 | |
| 2011-11-04 | Port error handlers from Py_UNICODE indexing to code point indexing. | Martin v. Löwis | -77/+46 | |
| 2011-10-14 | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | -2/+2 | |
| 2011-10-14 | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 | Victor Stinner | -12/+12 | |
| 2011-10-10 | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | -2/+4 | |
| 2011-10-02 | PyCodec_ReplaceErrors() uses "C" format instead of "u#" to build result | Victor Stinner | -2/+3 | |
| 2011-09-29 | Use the new Py_ARRAY_LENGTH macro | Victor Stinner | -1/+1 | |
