diff options
| author | Inada Naoki <songofacandy@gmail.com> | 2022-04-19 02:44:36 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-19 02:44:36 (GMT) |
| commit | 6fdb62b1fa344b9cdf1f221eac83404fb1980822 (patch) | |
| tree | 97badf048e8285069490b1753bc1a77f997070e7 /Python/errors.c | |
| parent | 39a54ba63850e081a4a5551a773df5b4d5b1d3cd (diff) | |
| download | cpython-6fdb62b1fa344b9cdf1f221eac83404fb1980822.zip cpython-6fdb62b1fa344b9cdf1f221eac83404fb1980822.tar.gz cpython-6fdb62b1fa344b9cdf1f221eac83404fb1980822.tar.bz2 | |
gh-91526: io: Remove device encoding support from TextIOWrapper (GH-91529)
`TextIOWrapper.__init__()` called `os.device_encoding(file.fileno())` if fileno is 0-2 and encoding=None.
But it is very rarely works, and never documented behavior.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions
