Undocumented
Constant | APP_ENGINE |
Undocumented |
Constant | CYGWIN |
Undocumented |
Constant | MSYS2 |
Undocumented |
Constant | WIN |
Undocumented |
Variable | binary_streams |
Undocumented |
Variable | text_streams |
Undocumented |
Class | _AtomicFile |
Undocumented |
Class | _FixupStream |
The new io interface needs more from streams than streams traditionally implement. As such, this fix-up code is necessary in some circumstances. |
Class | _NonClosingTextIOWrapper |
Undocumented |
Function | _find_binary_reader |
Undocumented |
Function | _find_binary_writer |
Undocumented |
Function | _force_correct_text_reader |
Undocumented |
Function | _force_correct_text_stream |
Undocumented |
Function | _force_correct_text_writer |
Undocumented |
Function | _get_argv_encoding |
Undocumented |
Function | _is_binary_reader |
Undocumented |
Function | _is_binary_writer |
Undocumented |
Function | _is_compat_stream_attr |
A stream attribute is compatible if it is equal to the desired value or the desired value is unset and the attribute has a value. |
Function | _is_compatible_text_stream |
Check if a stream's encoding and errors attributes are compatible with the desired values. |
Function | _is_jupyter_kernel_output |
Undocumented |
Function | _make_cached_stream_func |
Undocumented |
Function | _make_text_stream |
Undocumented |
Function | _stream_is_misconfigured |
A stream is misconfigured if its encoding is ASCII. |
Function | _wrap_io_open |
Handles not passing encoding and errors in binary mode. |
Function | auto_wrap_for_ansi |
Support ANSI color and style codes on Windows by wrapping a stream with colorama. |
Function | get_best_encoding |
Returns the default stream encoding if not found. |
Function | get_binary_stderr |
Undocumented |
Function | get_binary_stdin |
Undocumented |
Function | get_binary_stdout |
Undocumented |
Function | get_filesystem_encoding |
Undocumented |
Function | get_text_stderr |
Undocumented |
Function | get_text_stdin |
Undocumented |
Function | get_text_stdout |
Undocumented |
Function | is_ascii_encoding |
Checks if a given encoding is ascii. |
Function | isatty |
Undocumented |
Function | open_stream |
Undocumented |
Function | should_strip_ansi |
Undocumented |
Function | strip_ansi |
Undocumented |
Function | term_len |
Undocumented |
Variable | _ansi_re |
Undocumented |
Variable | _ansi_stream_wrappers |
Undocumented |
Variable | _default_text_stderr |
Undocumented |
Variable | _default_text_stdin |
Undocumented |
Variable | _default_text_stdout |
Undocumented |
Undocumented
Value |
|
t.Mapping[ str, t.Callable[ [ t.Optional[ str], t.Optional[ str]], t.TextIO]]
=
Undocumented
Undocumented
Parameters | |
stream:t.IO | Undocumented |
Returns | |
t.Optional[ | Undocumented |
Undocumented
Parameters | |
stream:t.IO | Undocumented |
Returns | |
t.Optional[ | Undocumented |
Undocumented
Parameters | |
text_reader:t.IO | Undocumented |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
force_readable:bool | Undocumented |
Returns | |
t.TextIO | Undocumented |
Undocumented
Parameters | |
text_stream:t.IO | Undocumented |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
is_binary:t.Callable[ | Undocumented |
find_binary:t.Callable[ | Undocumented |
force_readable:bool | Undocumented |
force_writable:bool | Undocumented |
Returns | |
t.TextIO | Undocumented |
Undocumented
Parameters | |
text_writer:t.IO | Undocumented |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
force_writable:bool | Undocumented |
Returns | |
t.TextIO | Undocumented |
Undocumented
Parameters | |
stream:t.IO | Undocumented |
default:bool | Undocumented |
Returns | |
bool | Undocumented |
Undocumented
Parameters | |
stream:t.IO | Undocumented |
default:bool | Undocumented |
Returns | |
bool | Undocumented |
Parameters | |
stream:t.TextIO | Undocumented |
attr:str | Undocumented |
value:t.Optional[ | Undocumented |
Returns | |
bool | Undocumented |
Parameters | |
stream:t.TextIO | Undocumented |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
Returns | |
bool | Undocumented |
Undocumented
Parameters | |
stream:t.IO | Undocumented |
Returns | |
bool | Undocumented |
Undocumented
Parameters | |
src_func:t.Callable[ | Undocumented |
wrapper_func:t.Callable[ | Undocumented |
Returns | |
t.Callable[ | Undocumented |
Undocumented
Parameters | |
stream:t.BinaryIO | Undocumented |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
force_readable:bool | Undocumented |
force_writable:bool | Undocumented |
Returns | |
t.TextIO | Undocumented |
Parameters | |
stream:t.TextIO | Undocumented |
Returns | |
bool | Undocumented |
Parameters | |
file:t.Union[ | Undocumented |
mode:str | Undocumented |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
Returns | |
t.IO | Undocumented |
Parameters | |
stream:t.TextIO | Undocumented |
color:t.Optional[ | Undocumented |
Returns | |
t.TextIO | Undocumented |
Parameters | |
stream:t.IO | Undocumented |
Returns | |
str | Undocumented |
Undocumented
Parameters | |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
Returns | |
t.TextIO | Undocumented |
Undocumented
Parameters | |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
Returns | |
t.TextIO | Undocumented |
Undocumented
Parameters | |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
Returns | |
t.TextIO | Undocumented |
Parameters | |
encoding:str | Undocumented |
Returns | |
bool | Undocumented |
Undocumented
Parameters | |
filename:str | Undocumented |
mode:str | Undocumented |
encoding:t.Optional[ | Undocumented |
errors:t.Optional[ | Undocumented |
atomic:bool | Undocumented |
Returns | |
t.Tuple[ | Undocumented |