Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2d11f3e

Browse files
[3.13]gh-62184: Remove _pyio import of _io.FileIO (gh-134192) (gh-134436)
This was added in the add of `_io`, isn't used sincebpo-21859 when a`_pyio` implementation was added which defines `FileIO` lower down inthe file.(cherry picked from commit0a68068)Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parente1e8533 commit2d11f3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎Lib/_pyio.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,6 @@ def write(self, b):
654654
self._unsupported("write")
655655

656656
io.RawIOBase.register(RawIOBase)
657-
from_ioimportFileIO
658-
RawIOBase.register(FileIO)
659657

660658

661659
classBufferedIOBase(IOBase):
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove import of C implementation of:class:`io.FileIO` from Python
2+
implementation which has its own implementation

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp