105 Commits (85b0f5beb182cca8b1607accce2caab87ee29835)

Author SHA1 Message Date
Serhiy Storchaka 85b0f5beb1 Added the const qualifier to char* variables that refer to readonly internal 9 years ago
Serhiy Storchaka cb33a01bbc Issue #28510: Clean up decoding error handlers. 9 years ago
Martin Panter 6245cb3c01 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 10 years ago
Victor Stinner 38b8ae0f5b Issue #24993: Handle import error in namereplace error handler 10 years ago
Serhiy Storchaka fa494fd883 Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 11 years ago
Serhiy Storchaka ca7fecb038 Issue #24102: Fixed exception type checking in standard error handlers. 11 years ago
Serhiy Storchaka 26861b0b29 Issue #23450: Fixed possible integer overflows. 11 years ago
Serhiy Storchaka 07985ef387 Issue #22286: The "backslashreplace" error handlers now works with 11 years ago
Benjamin Peterson 3663b58664 correct assertion 11 years ago
Benjamin Peterson 810aa6db34 fix variable name 11 years ago
Serhiy Storchaka aacfcccdc3 Issue #19676: Fixed integer overflow issue in "namereplace" error handler. 11 years ago
Serhiy Storchaka 166ebc4e5d Issue #19676: Added the "namereplace" error handler. 11 years ago
Serhiy Storchaka 4b1681832b Issue #22518: Fixed integer overflow issues in "backslashreplace", 11 years ago
Serhiy Storchaka 2e374098ff Issue #22518: Fixed integer overflow issues in "backslashreplace", 11 years ago
Serhiy Storchaka 8aa8c47db2 Fixed reference leak in the "backslashreplace" error handler. 11 years ago
Nick Coghlan 8fad1676a2 Issue #22166: clear codec caches in test_codecs 11 years ago
Victor Stinner 0d4e01ca07 Issue #13916: Fix surrogatepass error handler on Windows 12 years ago
Serhiy Storchaka 88d8fb6af6 Issue #13916: Disallowed the surrogatepass error handler for non UTF-* 12 years ago
Georg Brandl 2fc8f773e1 Issue #20404: reject non-text encodings early in TextIOWrapper. 12 years ago
Serhiy Storchaka 94ee389308 Issue #19619: Blacklist non-text codecs in method API 12 years ago
Nick Coghlan a9b15241c6 Close #20404: blacklist non-text encodings in io.TextIOWrapper 12 years ago
Nick Coghlan c72e4e6dcc Issue #19619: Blacklist non-text codecs in method API 12 years ago
Serhiy Storchaka 58cf607d13 Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates. 12 years ago
Nick Coghlan c4c2580d43 Close 19609: narrow scope of codec exc chaining 12 years ago
Nick Coghlan 8b097b4ed7 Close #17828: better handling of codec errors 12 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 12 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Victor Stinner cc35159ed8 Issue #18408: normalizestring() now raises MemoryError on memory allocation failure 13 years ago
Andrew Svetlov 3ba3a3ee56 Issue #15422: get rid of PyCFunction_New macro 13 years ago
Ezio Melotti 540da76115 #16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka. 13 years ago
Victor Stinner 76df43de30 Issue #16330: Use surrogate-related macros 13 years ago
Philip Jenvey 45c41494bf bounds check for bad data (thanks amaury) 13 years ago
Victor Stinner 8f825060f1 Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 14 years ago
Antoine Pitrou 1b468af7be Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry. 14 years ago
Victor Stinner ee450093a9 PyCodec_IgnoreErrors() avoids the deprecated "u#" format 14 years ago
Victor Stinner c06bb7affd Avoid the Py_UNICODE type in codecs.c 14 years ago
Victor Stinner b31f1bcd99 PyCodec_XMLCharRefReplaceError(): Remove unused variable 14 years ago
Martin v. Löwis 8ba79306d1 Fix C89 incompatibility. 14 years ago
Martin v. Löwis b09af03b8a Port error handlers from Py_UNICODE indexing to code point indexing. 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Victor Stinner f5cff56a1b Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 14 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 14 years ago
Victor Stinner 1a15aba71d PyCodec_ReplaceErrors() uses "C" format instead of "u#" to build result 14 years ago
Victor Stinner 639418812f Use the new Py_ARRAY_LENGTH macro 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Antoine Pitrou cf9d3c08c8 Issue #1813: Fix codec lookup under Turkish locales. 15 years ago
Antoine Pitrou 4cfae027b3 Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales. 15 years ago
Antoine Pitrou c9a8df24cc Merged revisions 84655 via svnmerge from 16 years ago
Antoine Pitrou e4a189274f Issue #9804: ascii() now always represents unicode surrogate pairs as 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago