Searched refs:backslashreplace (Results 1 – 21 of 21) sorted by relevance
| /third_party/python/Doc/library/ |
| D | faulthandler.rst | 28 * Only ASCII is supported. The ``backslashreplace`` error handler is used on
|
| D | codecs.rst | 344 | ``'backslashreplace'`` | Replace with backslashed escape sequences. | 381 The ``'backslashreplace'`` error handlers now works with decoding and 451 Implements the ``'backslashreplace'`` error handling (for
|
| D | sys.rst | 278 ``sys.stdout.encoding`` with ``'backslashreplace'`` error handler. 295 bytes = text.encode(sys.stdout.encoding, 'backslashreplace') 305 Use ``'backslashreplace'`` error handler on :exc:`UnicodeEncodeError`.
|
| D | io.rst | 960 ``'backslashreplace'`` causes malformed data to be replaced by a
|
| D | logging.rst | 1247 | | specified, the value 'backslashreplace' is |
|
| D | functions.rst | 1227 * ``'backslashreplace'`` replaces malformed data by Python's backslashed
|
| D | stdtypes.rst | 1596 ``'backslashreplace'`` and any other name registered via 3589 | | ``repr(obj).encode('ascii','backslashreplace)``). | |
|
| D | os.rst | 115 ``backslashreplace`` as it does in the default locale-aware mode)
|
| /third_party/python/Doc/howto/ |
| D | unicode.rst | 232 character out of the Unicode result), or ``'backslashreplace'`` (inserts a 243 >>> b'\x80abc'.decode("utf-8", "backslashreplace") 277 ``backslashreplace`` (inserts a ``\uNNNN`` escape sequence) and 296 >>> u.encode('ascii', 'backslashreplace')
|
| /third_party/python/Objects/stringlib/ |
| D | codecs.h | 352 p = backslashreplace(writer, p, in STRINGLIB()
|
| /third_party/python/Doc/using/ |
| D | cmdline.rst | 700 ``'backslashreplace'``. 902 :data:`sys.stdout` (:data:`sys.stderr` continues to use ``backslashreplace``
|
| /third_party/python/Lib/test/ |
| D | test_codecs.py | 426 backslashreplace = ''.join('\\x%02x' % b 429 before + backslashreplace + after)
|
| /third_party/python/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",
|
| /third_party/python/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.
|
| /third_party/python/Doc/c-api/ |
| D | init_config.rst | 1065 ``"backslashreplace"`` error handler).
|
| D | init.rst | 337 Note that :data:`sys.stderr` always uses the "backslashreplace" error
|
| /third_party/python/Objects/ |
| D | unicodeobject.c | 731 backslashreplace(_PyBytesWriter *writer, char *str, in backslashreplace() function 7260 str = backslashreplace(&writer, str, in unicode_encode_ucs1()
|
| /third_party/python/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
|