68 Commits (0e1af282b8e747c8dc032ea0dbda53f3f4ef17d4)

Author SHA1 Message Date
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 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
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
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
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 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
Guido van Rossum 21431e85d5 This is the uncontroversial half of patch 1263 by Thomas Lee: 18 years ago
Neal Norwitz 9edcc2e2fd Handle error 19 years ago
Martin v. Löwis 427dbff8f0 Revert 55876. Use PyUnicode_AsEncodedString instead. 19 years ago
Martin v. Löwis 641d5cc6a6 Short-cut lookup of utf-8 codec, to make import work 19 years ago
Walter Dörwald 573c08c1b7 Change PyErr_Format() to generate a unicode string (by using 19 years ago
Guido van Rossum 8d30cc0144 Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 19 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Thomas Wouters a977329b6f Merge part of the trunk changes into the p3yk branch. This merges from 43030 20 years ago
Brett Cannon bf36409e2a PEP 352 implementation. Creates a new base class, BaseException, which has an 20 years ago
Thomas Wouters f7f438ba3b SF patch #1438387, PEP 328: relative and absolute imports. 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Neal Norwitz 3715c3e576 Fix a few more ref leaks. Backport candidate 20 years ago
Neal Norwitz 739a8f86d6 Fix a couple of signed/unsigned comparison warnings 22 years ago
Nicholas Bastin e5662aedef Changed random calls to PyThreadState_Get() to use the macro 22 years ago
Hye-Shik Chang 7db07e6972 Fix gcc 3.3 warnings related to Py_UNICODE_WIDE. 22 years ago
Gustavo Niemeyer 5ddd4c3f77 Fixed SF bug #663074. The codec system was using global static 23 years ago