Searched refs:backslashreplace (Results 1 – 25 of 25) sorted by relevance
/external/python/cpython3/Doc/library/ |
D | faulthandler.rst | 28 * Only ASCII is supported. The ``backslashreplace`` error handler is used on
|
D | codecs.rst | 337 | ``'backslashreplace'`` | Replace with backslashed escape sequences. | 374 The ``'backslashreplace'`` error handlers now works with decoding and 444 Implements the ``'backslashreplace'`` error handling (for
|
D | sys.rst | 175 ``sys.stdout.encoding`` with ``'backslashreplace'`` error handler. 192 bytes = text.encode(sys.stdout.encoding, 'backslashreplace') 202 Use ``'backslashreplace'`` error handler on :exc:`UnicodeEncodeError`.
|
D | io.rst | 863 ``'backslashreplace'`` causes malformed data to be replaced by a
|
D | functions.rst | 1082 * ``'backslashreplace'`` replaces malformed data by Python's backslashed
|
D | stdtypes.rst | 1544 ``'backslashreplace'`` and any other name registered via 3372 | | ``repr(obj).encode('ascii','backslashreplace)``). | |
|
/external/python/cpython3/Doc/howto/ |
D | unicode.rst | 226 character out of the Unicode result), or ``'backslashreplace'`` (inserts a 237 >>> b'\x80abc'.decode("utf-8", "backslashreplace") 271 ``backslashreplace`` (inserts a ``\uNNNN`` escape sequence) and 290 >>> u.encode('ascii', 'backslashreplace')
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a4.rst | 155 Fix doctest to handle encode error with "backslashreplace".
|
D | 2.7b2.rst | 169 backslashreplace error handler if ``str(value)`` failed.
|
D | 2.7.9rc1.rst | 29 Fixed integer overflow issues in "backslashreplace" and "xmlcharrefreplace"
|
/external/python/cpython2/Doc/library/ |
D | codecs.rst | 105 * ``'backslashreplace'``: replace with backslashed escape sequences (for 234 Implements the ``backslashreplace`` error handling (for encoding only): the 368 | ``'backslashreplace'`` | Replace with backslashed escape sequences | 467 * ``'backslashreplace'`` Replace with backslashed escape sequences. 578 * ``'backslashreplace'`` Replace with backslashed escape sequences.
|
D | io.rst | 140 ``'backslashreplace'`` (replace with backslashed escape sequences) can be 787 reference) or ``'backslashreplace'`` (replace with backslashed escape
|
D | stdtypes.rst | 925 ``'ignore'``, ``'replace'``, ``'xmlcharrefreplace'``, ``'backslashreplace'`` and 933 Support for ``'xmlcharrefreplace'`` and ``'backslashreplace'`` and other error
|
/external/python/cpython3/Objects/stringlib/ |
D | codecs.h | 351 p = backslashreplace(&writer, p, in STRINGLIB()
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 617 ``'backslashreplace'``. 822 :data:`sys.stdout` (:data:`sys.stderr` continues to use ``backslashreplace`` 867 ``backslashreplace`` as it does in the default locale-aware mode)
|
/external/python/cpython3/Lib/test/ |
D | test_codecs.py | 399 backslashreplace = ''.join('\\x%02x' % b 402 before + backslashreplace + after)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.1rc1.rst | 173 startup) now uses the backslashreplace error handler.
|
D | 3.5.0a1.rst | 88 The "backslashreplace" error handlers now works with decoding and 244 Fixed integer overflow issues in "backslashreplace", "xmlcharrefreplace",
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 382 ``repr(obj).encode('ascii', 'backslashreplace')``):: 705 * Added the ``"namereplace"`` error handlers. The ``"backslashreplace"``
|
D | 2.3.rst | 639 "backslashreplace" uses Python backslash quoting to represent unencodable
|
D | 3.7.rst | 207 continues to be ``backslashreplace``, regardless of locale.
|
/external/python/cpython3/Doc/c-api/ |
D | init.rst | 332 Note that :data:`sys.stderr` always uses the "backslashreplace" error
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 625 backslashreplace(_PyBytesWriter *writer, char *str, in backslashreplace() function 6800 str = backslashreplace(&writer, str, in unicode_encode_ucs1()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.3.rst | 639 "backslashreplace" uses Python backslash quoting to represent unencodable
|
/external/python/cpython3/Misc/ |
D | HISTORY | 181 imported at startup) now uses the backslashreplace error handler. 988 - Issue #22470: Fixed integer overflow issues in "backslashreplace", 11230 - Issue #10601: sys.displayhook uses 'backslashreplace' error handler on 11942 Also, the "backslashreplace" error handler now joins surrogate pairs into a 12769 - PyObject_Dump() encodes unicode objects to utf8 with backslashreplace (instead 12800 unicode string (eg. backslashreplace). 13391 - Issue #8663: distutils.log emulates backslashreplace error handler. Fix 13563 using backslashreplace error handler. 13713 - Issue #1729305: Fix doctest to handle encode error with "backslashreplace". 14441 - Issue #8533: regrtest uses backslashreplace error handler for stdout to avoid
|