You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
text_encoding() is missing from io.__all__ #111356
The function was added in #19481, by @methane. It looks to me like this was just an accidental omission, rather than something that's been deliberately excluded from __all__. Want to make a PR to add it? :)
Possibly we could also add a test to Lib/test/test_io.py similar to this one, so that we assert that all public module members are included in __all__:
Bug report
Bug description:
The public
io.text_encoding()function is missing fromio.__all__.CPython versions tested on:
3.10, 3.11, 3.12
Operating systems tested on:
macOS
Linked PRs