Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22286, #23321: Fix failing test on Windows code page 932 | Victor Stinner | 2015-01-26 | 1 | -1/+1 |
| | | | | There was a bug which was fixed. The unit test was also wrong. | ||||
* | Issue #22286: The "backslashreplace" error handlers now works with | Serhiy Storchaka | 2015-01-25 | 1 | -0/+56 |
| | | | | decoding and translating. | ||||
* | Merge issue 19548 changes from 3.4 | Nick Coghlan | 2015-01-06 | 1 | -9/+37 |
|\ | |||||
| * | Issue 19548: update codecs module documentation | Nick Coghlan | 2015-01-06 | 1 | -9/+37 |
| | | | | | | | | | | | | | | | | - clarified the distinction between text encodings and other codecs - clarified relationship with builtin open and the io module - consolidated documentation of error handlers into one section - clarified type constraints of some behaviours - added tests for some of the new statements in the docs | ||||
| * | Issue #23071: "namereplace_errors" was added only in 3.5. | Serhiy Storchaka | 2014-12-20 | 1 | -1/+0 |
| | | |||||
* | | Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter. | Serhiy Storchaka | 2014-12-20 | 1 | -0/+23 |
|\ \ | |/ | |||||
| * | Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter. | Serhiy Storchaka | 2014-12-20 | 1 | -0/+23 |
| | | |||||
* | | Issue #19676: Added the "namereplace" error handler. | Serhiy Storchaka | 2014-11-25 | 1 | -0/+7 |
| | | |||||
* | | Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x. | Serhiy Storchaka | 2014-11-07 | 1 | -0/+4 |
|\ \ | |/ | | | | | Based on patch by Martin Panter. | ||||
| * | Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x. | Serhiy Storchaka | 2014-11-07 | 1 | -0/+4 |
| | | | | | | | | Based on patch by Martin Panter. | ||||
* | | Merge fix for issue #22166 from 3.4 | Nick Coghlan | 2014-09-15 | 1 | -0/+14 |
|\ \ | |/ | |||||
| * | Issue #22166: clear codec caches in test_codecs | Nick Coghlan | 2014-09-15 | 1 | -0/+14 |
| | | |||||
* | | Issue #13916: Fix surrogatepass error handler on Windows | Victor Stinner | 2014-05-16 | 1 | -6/+0 |
| | | |||||
* | | Issue #13916: Disallowed the surrogatepass error handler for non UTF-* | Serhiy Storchaka | 2014-05-15 | 1 | -0/+13 |
| | | | | | | | | encodings. | ||||
* | | Issue #21488: Add support of keyword arguments for codecs.encode and ↵ | Victor Stinner | 2014-05-14 | 1 | -0/+12 |
| | | | | | | | | codecs.decode | ||||
* | | Issue #20574: Remove duplicated test failing on Windows XP | Victor Stinner | 2014-03-18 | 1 | -6/+0 |
| | | |||||
* | | Issue #20574: Add more tests for cp65001 | Victor Stinner | 2014-03-17 | 1 | -0/+6 |
| | | |||||
* | | Issue #20574: Implement incremental decoder for cp65001 code | Victor Stinner | 2014-03-17 | 1 | -8/+4 |
|/ | | | | (Windows code page 65001, Microsoft UTF-8). | ||||
* | Issue #20571: skip test_readline() of test_codecs for Windows code page 65001. | Victor Stinner | 2014-02-09 | 1 | -0/+3 |
| | | | | The decoder does not support partial decoding yet for this code page. | ||||
* | Issue #20538: UTF-7 incremental decoder produced inconsistant string when | Serhiy Storchaka | 2014-02-08 | 1 | -8/+33 |
|\ | | | | | | | input was truncated in BASE64 section. | ||||
| * | Issue #20538: UTF-7 incremental decoder produced inconsistant string when | Serhiy Storchaka | 2014-02-08 | 1 | -6/+33 |
| | | | | | | | | input was truncated in BASE64 section. | ||||
* | | Issue 20542: Temporarily skip failing test | Nick Coghlan | 2014-02-07 | 1 | -0/+2 |
| | | |||||
* | | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -31/+54 |
|\ \ | |/ | |||||
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -31/+54 |
| | | |||||
* | | Issue #20520: Fixed readline test in test_codecs. | Serhiy Storchaka | 2014-02-06 | 1 | -6/+15 |
|\ \ | |/ | |||||
| * | Issue #20520: Fixed readline test in test_codecs. | Serhiy Storchaka | 2014-02-06 | 1 | -6/+15 |
| | | |||||
| * | Issue #8260: The read(), readline() and readlines() methods of | Serhiy Storchaka | 2014-01-26 | 1 | -2/+34 |
| | | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc. | ||||
| * | Fixed tests for issue #19279. | Serhiy Storchaka | 2013-10-19 | 1 | -4/+3 |
| | | |||||
* | | Issue #8260: The read(), readline() and readlines() methods of | Serhiy Storchaka | 2014-01-26 | 1 | -2/+34 |
| | | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc. | ||||
* | | Close #20105: set __traceback__ when chaining exceptions in C | Nick Coghlan | 2014-01-26 | 1 | -0/+1 |
| | | |||||
* | | Issue19619: skip zlib error test when zlib not available | Zachary Ware | 2013-12-30 | 1 | -1/+2 |
| | | |||||
* | | Issue #15204: Silence and check the 'U' mode deprecation warnings in tests. | Serhiy Storchaka | 2013-11-24 | 1 | -1/+3 |
| | | | | | | | | Changed deprecation message in the fileinput module. | ||||
* | | Issue #19668: Added support for the cp1125 encoding. | Serhiy Storchaka | 2013-11-23 | 1 | -0/+1 |
| | | |||||
* | | Close #7475: Restore binary & text transform codecs | Nick Coghlan | 2013-11-23 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | The codecs themselves were restored in Python 3.2, this completes the restoration by adding back the convenience aliases. These aliases were originally left out due to confusing errors when attempting to use them with the text encoding specific convenience methods. Python 3.4 includes several improvements to those errors, thus permitting the aliases to be restored as well. | ||||
* | | Issue #19619: Blacklist non-text codecs in method API | Nick Coghlan | 2013-11-22 | 1 | -68/+108 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Also chain codec exceptions that allow weakrefs | Nick Coghlan | 2013-11-19 | 1 | -5/+36 |
| | | | | | | | | | | | | | | The zlib and hex codecs throw custom exception types with weakref support if the input type is valid, but the data fails validation. Make sure the exception chaining in the codec infrastructure can wrap those as well. | ||||
* | | Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates. | Serhiy Storchaka | 2013-11-19 | 1 | -12/+56 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Avoid triggering the refleak detector | Nick Coghlan | 2013-11-15 | 1 | -8/+14 |
| | | |||||
* | | Close 19609: narrow scope of codec exc chaining | Nick Coghlan | 2013-11-15 | 1 | -11/+26 |
| | | |||||
* | | Close #17828: better handling of codec errors | Nick Coghlan | 2013-11-13 | 1 | -24/+169 |
| | | | | | | | | | | | | | | | | - 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 | ||||
* | | Issue #19279: UTF-7 decoder no more produces illegal strings. | Serhiy Storchaka | 2013-10-19 | 1 | -0/+30 |
|\ \ | |/ | |||||
| * | Issue #19279: UTF-7 decoder no more produces illegal strings. | Serhiy Storchaka | 2013-10-19 | 1 | -0/+30 |
| | | |||||
* | | 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 |
|\ \ \ | |/ / |