mirror of
https://github.com/python/cpython.git
synced 2026-05-14 00:18:52 -04:00
a9b15241c6
- io.TextIOWrapper (and hence the open() builtin) now use the internal codec marking system added for issue #19619 - also tweaked the C code to only look up the encoding once, rather than multiple times - the existing output type checks remain in place to deal with unmarked third party codecs.