New GitHub issue #94169 from vstinner:<br>
<hr>
<pre>
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).
I'm writing a PR to remove it.
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/94169">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>