]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:14 +0000 (15:40 +0500)
committerGitHub <noreply@github.com>
Wed, 12 Nov 2025 10:40:14 +0000 (12:40 +0200)
commit8402c28f111d20ad9d61f64873b743e2defc2603
treefca32b4b1c3c368d79084f735623c14c78c81478
parentc317cf51f18e8265c12cf3bfcf7080710037e0ae
[3.13] gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return (GH-141331) (GH-141452)

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