]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94169: Remove deprecated io.OpenWrapper (#94170)
authorVictor Stinner <vstinner@python.org>
Fri, 24 Jun 2022 06:46:53 +0000 (08:46 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Jun 2022 06:46:53 +0000 (08:46 +0200)
commit6e33ba114ffb47505fec59674c5cce5eb6476f76
tree3682df72eda311bea3bb61f8cc59d50a21e514f5
parent5075e81c519af5cf3fd9d356d483b0c9df6b116a
gh-94169: Remove deprecated io.OpenWrapper (#94170)

Remove io.OpenWrapper and _pyio.OpenWrapper, deprecated in Python
3.10: just use :func:`open` instead. The open() (io.open()) function
is a built-in function. Since Python 3.10, _pyio.open() is also a
static method.
Doc/whatsnew/3.12.rst
Lib/_pyio.py
Lib/io.py
Lib/test/test_io.py
Misc/NEWS.d/next/Library/2022-06-23-14-35-10.gh-issue-94169.jeba90.rst [new file with mode: 0644]