Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Close #17839: support bytes-like objects in base64 module | Nick Coghlan | 2013-10-02 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | This mostly affected the encodebytes and decodebytes function (which are used by base64_codec) Also added a test to ensure all bytes-bytes codecs can handle memoryview input and tests for handling of multidimensional and non-bytes format input in the modern base64 API. | |||||
* | | Add tests for raw-unicode-escape codec. | Serhiy Storchaka | 2013-01-29 | 1 | -0/+50 | |
|\ \ | |/ | ||||||
| * | Add tests for raw-unicode-escape codec. | Serhiy Storchaka | 2013-01-29 | 1 | -0/+50 | |
| |\ | ||||||
| | * | Add tests for raw-unicode-escape codec. | Serhiy Storchaka | 2013-01-29 | 1 | -0/+51 | |
| | | | ||||||
* | | | Clean up escape-decode decoder tests. | Serhiy Storchaka | 2013-01-29 | 1 | -36/+40 | |
|\ \ \ | |/ / | ||||||
| * | | Clean up escape-decode decoder tests. | Serhiy Storchaka | 2013-01-29 | 1 | -36/+40 | |
| |\ \ | | |/ | ||||||
| | * | Clean up escape-decode decoder tests. | Serhiy Storchaka | 2013-01-29 | 1 | -36/+40 | |
| | | | ||||||
* | | | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -0/+84 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -0/+84 | |
| |\ \ | | |/ | ||||||
| | * | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -0/+85 | |
| | | | ||||||
* | | | Issue #16975: Fix error handling bug in the escape-decode bytes decoder. | Serhiy Storchaka | 2013-01-25 | 1 | -0/+44 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #16975: Fix error handling bug in the escape-decode bytes decoder. | Serhiy Storchaka | 2013-01-25 | 1 | -0/+44 | |
| |\ \ | | |/ | ||||||
| | * | Issue #16975: Fix error handling bug in the escape-decode bytes decoder. | Serhiy Storchaka | 2013-01-25 | 1 | -0/+44 | |
| | | | ||||||
* | | | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" | Serhiy Storchaka | 2013-01-15 | 1 | -0/+46 | |
|\ \ \ | |/ / | | | | | | | in any mapping, not only in an unicode string. | |||||
| * | | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" | Serhiy Storchaka | 2013-01-15 | 1 | -0/+46 | |
| |\ \ | | |/ | | | | | | | in any mapping, not only in an unicode string. | |||||
| | * | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" | Serhiy Storchaka | 2013-01-15 | 1 | -0/+46 | |
| | | | | | | | | | | | | in any mapping, not only in an unicode string. | |||||
* | | | #16918: merge with 3.3. | Ezio Melotti | 2013-01-11 | 1 | -46/+13 | |
|\ \ \ | |/ / | ||||||
| * | | #16918: test_codecs now works with unittest test discovery. Patch by Zachary ↵ | Ezio Melotti | 2013-01-11 | 1 | -46/+12 | |
| | | | | | | | | | | | | Ware. | |||||
| * | | Merge fix for broken/disabled test. | Ezio Melotti | 2013-01-11 | 1 | -1/+2 | |
| |\ \ | | |/ | ||||||
| | * | Enable a broken test and fix it. | Ezio Melotti | 2013-01-11 | 1 | -1/+2 | |
| | | | ||||||
* | | | Issue #11461: Fix the incremental UTF-16 decoder. Original patch by | Serhiy Storchaka | 2013-01-08 | 1 | -8/+40 | |
|\ \ \ | |/ / | | | | | | | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters. | |||||
| * | | Issue #11461: Fix the incremental UTF-16 decoder. Original patch by | Serhiy Storchaka | 2013-01-08 | 1 | -8/+40 | |
| |\ \ | | |/ | | | | | | | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters. | |||||
| | * | Issue #11461: Fix the incremental UTF-16 decoder. Original patch by | Serhiy Storchaka | 2013-01-08 | 1 | -8/+40 | |
| | | | | | | | | | | | | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters. | |||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -2/+2 | |
|/ / | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | #16336: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
| * | #16336: fix input checking in the surrogatepass error handler. Patch by ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+2 | |
| | | | | | | | | Serhiy Storchaka. | |||||
* | | merge with 3.2 | Philip Jenvey | 2012-10-27 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
| * | bounds check for bad data (thanks amaury) | Philip Jenvey | 2012-10-27 | 1 | -0/+2 | |
| | | ||||||
* | | Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵ | Antoine Pitrou | 2012-09-23 | 1 | -0/+116 | |
|\ \ | |/ | | | | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka. | |||||
| * | Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵ | Antoine Pitrou | 2012-09-23 | 1 | -0/+105 | |
| | | | | | | | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka. | |||||
* | | Port additional tests from #14579 (the issue is already fixed). | Antoine Pitrou | 2012-07-20 | 1 | -4/+26 | |
|\ \ | |/ | ||||||
| * | Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after ↵ | Antoine Pitrou | 2012-07-20 | 1 | -4/+26 | |
| | | | | | | | | | | | | error handling. Patch by Serhiy Storchaka. | |||||
| * | Backport 0398f07d4827 (fix for weird buildbot failures) | Antoine Pitrou | 2011-07-26 | 1 | -1/+1 | |
| | | ||||||
* | | Write tests for invalid characters (U+00110000) | Victor Stinner | 2011-12-09 | 1 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | Test the following functions: * codecs.raw_unicode_escape_decode() * PyUnicode_FromWideChar() * PyUnicode_FromUnicode() * "unicode_internal" and "unicode_escape" decoders | |||||
* | | #13406: fix more deprecation warnings and move the deprecation of ↵ | Ezio Melotti | 2011-11-17 | 1 | -8/+6 | |
| | | | | | | | | unicode-internal earlier in the code. | |||||
* | | #13406: correct the error message in check_warnings too. | Ezio Melotti | 2011-11-16 | 1 | -3/+3 | |
| | | ||||||
* | | #13406: silence deprecation warnings in test_codecs. | Ezio Melotti | 2011-11-16 | 1 | -8/+15 | |
| | | ||||||
* | | "unicode_internal" codec has been deprecated: fix related tests | Victor Stinner | 2011-11-15 | 1 | -12/+25 | |
| | | ||||||
* | | Cleanup decode_code_page_stateful() and encode_code_page() | Victor Stinner | 2011-11-03 | 1 | -0/+3 | |
| | | | | | | | | | | | | * Fix decode_code_page_errors() result * Inline decode_code_page() and encode_code_page_chunk() * Replace the PyUnicodeObject type by PyObject | |||||
* | | Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8) | Victor Stinner | 2011-10-26 | 1 | -60/+116 | |
| | | ||||||
* | | Issue #12281: Fix test_codecs.test_cp932() on Windows XP | Victor Stinner | 2011-10-18 | 1 | -7/+3 | |
| | | | | | | | | | | Cool! Decoding b'\x81\x00abc' from cp932 with replace error handler is now giving the same result on all Windows versions. | |||||
* | | Issue #12281: Skip code page tests on non-Windows platforms | Victor Stinner | 2011-10-18 | 1 | -6/+10 | |
| | | ||||||
* | | Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore | Victor Stinner | 2011-10-18 | 1 | -0/+198 | |
| | | | | | | | | | | error handlers on all Windows versions. The MBCS codec is now supporting all error handlers, instead of only replace to encode and ignore to decode. | |||||
* | | Fix text failures when ctypes is not available | Antoine Pitrou | 2011-10-05 | 1 | -2/+7 | |
| | | | | | | | | (followup to Victor's 85d11cf67aa8 and 7a50e549bd11) | |||||
* | | Fix test_codecs for Windows: check size of wchar_t, not sys.maxunicode | Victor Stinner | 2011-09-29 | 1 | -41/+44 | |
| | | ||||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -0/+4 | |
| | | ||||||
* | | Try to fix weird buildbot failures | Antoine Pitrou | 2011-07-26 | 1 | -1/+1 | |
| | | ||||||
* | | Add a test for issue #1813: getlocale() failing under a Turkish locale | Antoine Pitrou | 2011-07-24 | 1 | -0/+14 | |
|\ \ | |/ | | | | | (not a problem under 3.x) | |||||
| * | Issue #1813: Fix codec lookup under Turkish locales. | Antoine Pitrou | 2011-07-24 | 1 | -0/+14 | |
| | | ||||||
* | | Revert my commit 3555cf6f9c98: "Issue #8796: codecs.open() calls the builtin | Victor Stinner | 2011-05-27 | 1 | -106/+46 | |
| | | | | | | | | | | | | | | | | open() function instead of using StreamReaderWriter. Deprecate StreamReader, StreamWriter, StreamReaderWriter, StreamRecoder and EncodedFile() of the codec module. Use the builtin open() function or io.TextIOWrapper instead." "It has not been approved !" wrote Marc-Andre Lemburg. |