## Feature https://docs.python.org/3/library/io.html#io.TextIOWrapper <!-- What Python feature is missing from RustPython? Give a short description of the feature and how you ran into its absence. --> ## Python Documentation documentation: https://docs.python.org/3/library/io.html#io.TextIOWrapper source code: https://github.com/python/cpython/blob/4a3ea1fdd890e5e2ec26540dc3c958a52fba6556/Modules/_io/textio.c#L1120-L1130 ## Tips - search for `TextIOWrapperArgs` in RustPython source code to look for `encoding` parameter and init function. - ` _Py_GetLocaleEncodingObject` is same as `locale.getencoding`
Feature
https://docs.python.org/3/library/io.html#io.TextIOWrapper
Python Documentation
documentation: https://docs.python.org/3/library/io.html#io.TextIOWrapper
source code: https://github.com/python/cpython/blob/4a3ea1fdd890e5e2ec26540dc3c958a52fba6556/Modules/_io/textio.c#L1120-L1130
Tips
TextIOWrapperArgsin RustPython source code to look forencodingparameter and init function._Py_GetLocaleEncodingObjectis same aslocale.getencoding