]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return...
authorMohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
Tue, 11 Nov 2025 21:49:54 +0000 (02:49 +0500)
committerGitHub <noreply@github.com>
Tue, 11 Nov 2025 21:49:54 +0000 (23:49 +0200)
commitaf80fac42548719ede7241bfbab3c2c0775b4760
tree0017d67f1092dd4a10c37a3685b103e117e78baa
parent37e2762ee12c2d7fc465938d7161a9a0640bd71f
gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return (GH-141331)

The assertion was checking wrong variable (skip_back vs skip_bytes).
Lib/test/test_io/test_textio.py
Misc/NEWS.d/next/Library/2025-11-10-01-47-18.gh-issue-141314.baaa28.rst [new file with mode: 0644]
Modules/_io/textio.c