mirror of
https://github.com/python/cpython
synced 2026-11-17 19:23:55 +03:00
It failed with UnicodeEncodeError if the path of the module contains
characters unencodable in the encoding of sys.stdout, e.g. undecodable
bytes of a file name. Such characters are now escaped with backslashes,
unless stdout uses an error handler which can handle them.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| inspect_fodder.py | ||
| inspect_fodder2.py | ||
| inspect_stock_annotations.py | ||
| inspect_stringized_annotations.py | ||
| inspect_stringized_annotations_2.py | ||
| inspect_stringized_annotations_pep695.py | ||
| test_inspect.py | ||