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
Remove io.OpenWrapper, deprecated in Python 3.10 #94169
Since Python 3.10, io.OpenWrapper is no longer needed: just use open(). See issue #87846 for the long rationale. I modified staticmethod() in Python 3.10, so a static method is now a callable object.
It was deprecated in 2 Python versions (3.10 and 3.11), so it can now be removed (PEP 387).
Activity
vstinner commentedon Jun 23, 2022
Static methods were made callable in issue #87848. See also the python-dev thread: https://mail.python.org/archives/list/python-dev@python.org/thread/QZ7SFW3IW3S2C5RMRJZOOUFSHHUINNME/
gh-94169: Remove deprecated io.OpenWrapper (#94170)
Revert 30935 defer bpo45162 to 312 (#94285)