Skip to content

feat: FT214 io モジュール — StringIO / BytesIO / TextIOWrapper / BufferedReader#599

Merged
hideyukiMORI merged 1 commit into
mainfrom
feat/598-ft214-io
May 22, 2026
Merged

feat: FT214 io モジュール — StringIO / BytesIO / TextIOWrapper / BufferedReader#599
hideyukiMORI merged 1 commit into
mainfrom
feat/598-ft214-io

Conversation

@hideyukiMORI
Copy link
Copy Markdown
Owner

Summary

  • StringIO: テキストバッファの書き込み・読み取り・行イテレーション
  • BytesIO: バイナリバッファ操作・hex デコード
  • TextIOWrapper: エンコーディング変換往復確認(utf-8/utf-16/latin-1/ascii)
  • BufferedReader: シーク操作(seek / tell)
  • F-1: StringIO.tell() のタイミング依存性を発見(書き込み後 vs read 後で値が異なる)
  • F-2: TextIOWrapperwrite_through=True が必要(バッファリング問題)

Test plan

  • 22 テスト全通過 (pytest)
  • mypy --strict 通過
  • ruff check / ruff format --check 通過
  • pip-audit — 既知 CVE なし

Closes #598

🤖 Generated with Claude Code

…eader (#598)

- StringIO: テキストバッファ書き込み・読み取り・行イテレーション
- BytesIO: バイナリバッファ操作・hex デコード
- TextIOWrapper: エンコーディング変換往復確認(utf-8/utf-16/latin-1/ascii)
- BufferedReader: シーク操作(seek/tell)
- F-1: StringIO.tell() のタイミング依存性(書き込み後 vs read 後)
- F-2: TextIOWrapper は write_through=True が必要
- 22 テスト全通過、mypy --strict / ruff / pip-audit 全クリア
- v1.8.90 → v1.8.91

Closes #598

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hideyukiMORI hideyukiMORI merged commit eba102f into main May 22, 2026
0 of 2 checks passed
@hideyukiMORI hideyukiMORI deleted the feat/598-ft214-io branch May 22, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FT214: io モジュール — StringIO / BytesIO / TextIOWrapper / BufferedReader

1 participant