Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39337: encodings.normalize_encoding() now ignores non-ASCII characters ↵ | Hai Shi | 2020-10-14 | 1 | -1/+2 |
| | | | | (GH-22219) | ||||
* | bpo-30566: Fix IndexError when using punycode codec (GH-18632) | Berker Peksag | 2020-02-25 | 1 | -1/+1 |
| | | | | Trying to decode an invalid string with the punycode codec shoud raise UnicodeError. | ||||
* | bpo-38945: UU Encoding: Don't let newline in filename corrupt the output ↵ | Matthew Rollings | 2019-12-02 | 1 | -0/+4 |
| | | | | format (#17418) | ||||
* | bpo-34519: Add additional aliases for HP Roman 8 (GH-8956) | Michael Osipov | 2019-09-11 | 1 | -0/+2 |
| | | | | | | | * bpo-34519: Add additional aliases for HP Roman 8 HP Roman 8 is known under mode aliases than listed in aliases.py. Patch by Michael Osipov. | ||||
* | bpo-35551: remove mac_centeuro encoding (GH-13856) | Inada Naoki | 2019-06-06 | 1 | -307/+0 |
| | | | It is alias to mac_latin2 now. | ||||
* | bpo-35551: encodings update (GH-11446) | Ashwin Ramaswami | 2019-06-05 | 1 | -3/+1 |
| | |||||
* | Fix typos in docs and docstrings (GH-13745) | Xtreak | 2019-06-02 | 1 | -1/+1 |
| | |||||
* | bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230) | Victor Stinner | 2019-05-10 | 2 | -43/+1 |
| | |||||
* | bpo-36297: remove "unicode_internal" codec (GH-12342) | Inada Naoki | 2019-03-18 | 1 | -45/+0 |
| | |||||
* | Remove obsolete comment about latin-1 in `normalize_encoding` (GH-8739) | Anthony Sottile | 2018-09-11 | 1 | -2/+1 |
| | | | This docstring has drifted since python2: https://github.com/python/cpython/blob/ca079a3ea30098aff3197c559a0e32d42dda6d84/Lib/encodings/__init__.py#L68 | ||||
* | bpo-32943: Fix confusing error message for rot13 codec (GH-5869) | Xiang Zhang | 2018-03-25 | 1 | -4/+4 |
| | |||||
* | bpo-29240: PEP 540: Add a new UTF-8 Mode (#855) | Victor Stinner | 2017-12-13 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | * Add -X utf8 command line option, PYTHONUTF8 environment variable and a new sys.flags.utf8_mode flag. * If the LC_CTYPE locale is "C" at startup: enable automatically the UTF-8 mode. * Add _winapi.GetACP(). encodings._alias_mbcs() now calls _winapi.GetACP() to get the ANSI code page * locale.getpreferredencoding() now returns 'UTF-8' in the UTF-8 mode. As a side effect, open() now uses the UTF-8 encoding by default in this mode. * Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding in the UTF-8 Mode. * Update subprocess._args_from_interpreter_flags() to handle -X utf8 * Skip some tests relying on the current locale if the UTF-8 mode is enabled. * Add test_utf8mode.py. * _Py_DecodeUTF8_surrogateescape() gets a new optional parameter to return also the length (number of wide characters). * pymain_get_global_config() and pymain_set_global_config() now always copy flag values, rather than only copying if the new value is greater than the old value. | ||||
* | Revert #27959: ImportError within an encoding module should also skip the ↵ | Steve Dower | 2016-09-09 | 1 | -3/+4 |
| | | | | encoding | ||||
* | Issue #28005: Allow ImportErrors in encoding implementation to propagate. | Steve Dower | 2016-09-08 | 1 | -2/+3 |
| | |||||
* | Issue #27959: Prevent ImportError from escaping codec search function | Steve Dower | 2016-09-07 | 1 | -4/+8 |
| | |||||
* | Issue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec ↵ | Steve Dower | 2016-09-07 | 3 | -0/+52 |
| | | | | lookup | ||||
* | PEP 7 style for if/else in C | Victor Stinner | 2016-09-02 | 1 | -0/+1 |
| | | | | Add also a newline for readability in normalize_encoding(). | ||||
* | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 2 | -2/+2 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Add some "used with permission" mentions where external resources are ↵ | Brett Cannon | 2016-01-15 | 1 | -0/+2 |
| | | | | | | referenced. Permission was validated prior to adding these markings. | ||||
* | Issue #16473: Merge codecs doc and test from 3.4 into 3.5 | Martin Panter | 2015-09-12 | 1 | -1/+1 |
|\ | |||||
| * | Issue #16473: Fix byte transform codec documentation; test quotetabs=True | Martin Panter | 2015-09-12 | 1 | -1/+1 |
| | | | | | | | | | | | | 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. | ||||
* | | Added forgotten new files for issues #22681 and #22682. | Serhiy Storchaka | 2015-05-12 | 2 | -0/+615 |
| | | |||||
* | | Issue #22682: Added support for the kz1048 encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -0/+5 |
| | | |||||
* | | Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x. | Serhiy Storchaka | 2014-11-07 | 1 | -1/+1 |
|\ \ | |/ | | | | | Based on patch by Martin Panter. | ||||
| * | Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x. | Serhiy Storchaka | 2014-11-07 | 1 | -1/+1 |
| | | | | | | | | Based on patch by Martin Panter. | ||||
* | | Issue #21171: Fixed undocumented filter API of the rot13 codec. | Serhiy Storchaka | 2014-04-13 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Berker Peksag. | ||||
| * | Issue #21171: Fixed undocumented filter API of the rot13 codec. | Serhiy Storchaka | 2014-04-13 | 1 | -1/+1 |
| | | | | | | | | Patch by Berker Peksag. | ||||
* | | Issue #20574: Implement incremental decoder for cp65001 code | Victor Stinner | 2014-03-17 | 1 | -3/+6 |
|/ | | | | (Windows code page 65001, Microsoft UTF-8). | ||||
* | Merge #7475: Remove references to '.transform' from transform codec docstrings. | R David Murray | 2014-03-14 | 6 | -12/+6 |
|\ | |||||
| * | #7475: Remove references to '.transform' from transform codec docstrings. | R David Murray | 2014-03-14 | 6 | -12/+6 |
| | | |||||
| * | Issue #19619: Blacklist non-text codecs in method API | Serhiy Storchaka | 2014-02-24 | 7 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. Backported changeset d68df99d7a57. | ||||
* | | whatsnew: cp273 codec (#10907797) | R David Murray | 2014-03-08 | 1 | -0/+5 |
| | | | | | | | | | | Also updated the docs and added the aliases mentioned by the references. | ||||
* | | Fixed incorrectly applying a patch for issue19668. | Serhiy Storchaka | 2013-11-23 | 2 | -26/+724 |
| | | |||||
* | | Issue #19668: Added support for the cp1125 encoding. | Serhiy Storchaka | 2013-11-23 | 2 | -26/+32 |
| | | |||||
* | | Close #7475: Restore binary & text transform codecs | Nick Coghlan | 2013-11-23 | 1 | -18/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | 7 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | #1097797: Add CP273 codec, and exercise it in the test suite | Andrew Kuchling | 2013-11-10 | 1 | -0/+307 |
| | | |||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -3/+4 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -4/+3 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings: | Victor Stinner | 2013-04-09 | 3 | -3/+0 |
|/ | | | | cp037, cp500 and iso8859_1 codecs | ||||
* | Normalize whitespace | Antoine Pitrou | 2012-06-16 | 2 | -2/+0 |
| | |||||
* | Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels. | Antoine Pitrou | 2012-06-16 | 7 | -422/+1078 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Speed up IDNA for the common case | Antoine Pitrou | 2011-11-10 | 1 | -0/+22 |
| | |||||
* | Merge 3.2 | Florent Xicluna | 2011-10-28 | 1 | -6/+5 |
|\ | |||||
| * | Closes #13258: Use callable() built-in in the standard library. | Florent Xicluna | 2011-10-28 | 1 | -6/+5 |
| | | |||||
* | | Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8) | Victor Stinner | 2011-10-26 | 1 | -0/+40 |
|/ | |||||
* | Issue #10807: Remove base64, bz2, hex, quopri, rot13, uu and zlib codecs from | Victor Stinner | 2011-01-02 | 1 | -18/+18 |
| | | | | the codec aliases. They are still accessible via codecs.lookup(). | ||||
* | Don't use deprecated aliases. | Georg Brandl | 2010-12-06 | 1 | -4/+4 |
| | |||||
* | #7475: add (un)transform method to bytes/bytearray and str, add back codecs ↵ | Georg Brandl | 2010-12-02 | 8 | -18/+550 |
| | | | | that can be used with them from Python 2. | ||||
* | remove pointless coding cookies | Florent Xicluna | 2010-08-30 | 1 | -1/+0 |
| |