82 Commits (575596e19a8f0be382f08a2dc9190100ff811b97)

Author SHA1 Message Date
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
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Georg Brandl 628e6f908e Merged revisions 75797 via svnmerge from 16 years ago
Georg Brandl 495f7b5adb Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from 16 years ago
Georg Brandl 5d2eb34f5c Merged revisions 75363,75365,75376,75392,75394,75403,75418,75484,75572,75580,75590,75592,75594-75596,75600,75602-75603,75605-75607,75610-75613,75616-75617,75623,75627,75647 via svnmerge from 16 years ago
Georg Brandl f4ffae2b2a #7035: improve docs of the various <method>_errors() functions, and give them docstrings. 16 years ago
Martin v. Löwis 43c57785d3 Rename utf8b error handler to surrogateescape. 17 years ago
Martin v. Löwis e0a2b72e61 Rename the surrogates error handler to surrogatepass. 17 years ago
Martin v. Löwis 011e842033 Issue #5915: Implement PEP 383, Non-decodable Bytes in 17 years ago
Martin v. Löwis aef3fb082c Make PyCodec_SurrogateErrors static. 17 years ago
Martin v. Löwis db12d454e6 Issue #3672: Reject surrogates in utf-8 codec; add surrogates error 17 years ago
Christian Heimes 6a27efa2d3 Issue 3723: Fixed initialization of subinterpreters 17 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Marc-André Lemburg b2750b5d33 Move the codec decode type checks to bytes/bytearray.decode(). 18 years ago
Christian Heimes 72b710a596 Renamed PyString to PyBytes 18 years ago
Christian Heimes 9c4756ea26 Renamed PyBytes to PyByteArray 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Christian Heimes 819b8bf403 More PyImport_ImportModule -> PyImport_ImportModuleNoBlock 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch. 18 years ago