Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #25270: Merge from 3.5 | Berker Peksag | 2016-09-16 | 1 | -0/+20 |
|\ | |||||
| * | Issue #25270: Prevent codecs.escape_encode() from raising SystemError when ↵ | Berker Peksag | 2016-09-16 | 1 | -0/+20 |
| | | | | | | | | an empty bytestring is passed | ||||
* | | #27364: Deprecate invalid escape strings in str/byutes. | R David Murray | 2016-09-08 | 1 | -11/+24 |
| | | | | | | | | Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter. | ||||
* | | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 | 1 | -7/+7 |
| | | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||||
* | | Issue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec ↵ | Steve Dower | 2016-09-07 | 1 | -33/+29 |
| | | | | | | | | lookup | ||||
* | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
* | | Merge typo fixes from 3.5 | Martin Panter | 2016-04-16 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fix typos in code comments and documentation | Martin Panter | 2016-04-16 | 1 | -2/+2 |
| | | |||||
* | | Issue #15984: Merge PyUnicode doc from 3.5 | Martin Panter | 2016-04-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | | | | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | | Issue #25523: Merge a-to-an corrections from 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| |\ | |||||
| | * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | | Issue #25318: Avoid sprintf() in backslashreplace() | Victor Stinner | 2015-10-09 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | Rewrite backslashreplace() to be closer to PyCodec_BackslashReplaceErrors(). Add also unit tests for non-BMP characters. | ||||
* | | | Issue #25301: The UTF-8 decoder is now up to 15 times as fast for error | Victor Stinner | 2015-10-05 | 1 | -0/+12 |
| | | | | | | | | | | | | handlers: ``ignore``, ``replace`` and ``surrogateescape``. | ||||
* | | | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | 2015-10-02 | 1 | -1/+59 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. 3. In some circumstances the '\xfd' character was produced instead of the replacement character '\ufffd' (due to a bug in _PyUnicodeWriter). | ||||
| * | | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | 2015-10-02 | 1 | -1/+59 |
| |\ \ | | |/ | | | | | | | | | | | | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. 3. In some circumstances the '\xfd' character was produced instead of the replacement character '\ufffd' (due to a bug in _PyUnicodeWriter). | ||||
| | * | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | 2015-10-02 | 1 | -1/+59 |
| | | | | | | | | | | | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. | ||||
* | | | Issue #25267: The UTF-8 encoder is now up to 75 times as fast for error | Victor Stinner | 2015-10-01 | 1 | -10/+27 |
| | | | | | | | | | | | | | | | handlers: ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``. Patch co-written with Serhiy Storchaka. | ||||
* | | | Optimize ascii/latin1+surrogateescape encoders | Victor Stinner | 2015-09-29 | 1 | -0/+60 |
| | | | | | | | | | | | | | | | | | | | | | Issue #25227: Optimize ASCII and latin1 encoders with the ``surrogateescape`` error handler: the encoders are now up to 3 times as fast. Initial patch written by Serhiy Storchaka. | ||||
* | | | Issue #24870: Optimize the ASCII decoder for error handlers: surrogateescape, | Victor Stinner | 2015-09-21 | 1 | -0/+32 |
|/ / | | | | | | | | | | | | | | | ignore and replace. Initial patch written by Naoki Inada. The decoder is now up to 60 times as fast for these error handlers. Add also unit tests for the ASCII decoder. | ||||
* | | Issue #16473: Merge codecs doc and test from 3.4 into 3.5 | Martin Panter | 2015-09-12 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #16473: Fix byte transform codec documentation; test quotetabs=True | Martin Panter | 2015-09-12 | 1 | -0/+8 |
| | | | | | | | | | | | | This changes the equivalent functions listed for the Base-64, hex and Quoted- Printable codecs to reflect the functions actually used. Also mention and test the "quotetabs" setting for Quoted-Printable encoding. | ||||
* | | Issue #22681: Added support for the koi8_t encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -0/+1 |
| | | |||||
* | | Issue #22682: Added support for the kz1048 encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -0/+1 |
| | | |||||
* | | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and | Serhiy Storchaka | 2015-03-20 | 1 | -0/+1 |
| | | | | | | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too. | ||||
* | | 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 |
| | |