]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage...
authorMohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
Wed, 12 Nov 2025 10:40:02 +0000 (15:40 +0500)
committerGitHub <noreply@github.com>
Wed, 12 Nov 2025 10:40:02 +0000 (12:40 +0200)
commit92c14a91d239463c2f0ad72ab7e8a63de18ef8ca
treeef2d3a0eccd02d35692907907ce4b3a9bf94c4db
parente9c11b749576dfb0eb2b1a40ae84f532f1526df5
[3.14] gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return (GH-141331) (GH-141453)

The assertion was checking wrong variable (skip_back vs skip_bytes).
(cherry picked from commit af80fac42548719ede7241bfbab3c2c0775b4760)
Lib/test/test_io.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