You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing return value validation in pathlib's write_text and write_bytes tests #143866
While reviewing the pathlib test suite in Lib/test/test_pathlib.py, I noticed that the return values of write_text() and write_bytes() are not being validated. Currently, they do not check if the methods correctly return the number of bytes written. I'm interested in fixing this. May I be assigned to this issue?
Hi, generally we don’t assign issues to a specific person unless certain conditions are met. You can start working on it if no one else is currently working on it.
Reacted by 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
Activity
pythongh-143866: Verify return value of pathlib write methods in tests
aisk commentedon Jan 15, 2026
Hi, generally we don’t assign issues to a specific person unless certain conditions are met. You can start working on it if no one else is currently working on it.
Merge branch 'main' into pythongh-143866-pathlib-test
Merge branch 'main' into pythongh-143866-pathlib-test
gh-143866: Verify return value of `pathlib.write_{bytes,text}` method…
pythongh-143866: Verify return value of `pathlib.write_{bytes,text}` …
[3.14] gh-143866: Verify return value of `pathlib.write_{bytes,text}`…
[3.13] gh-143866: Verify return value of `pathlib.write_{bytes,text}`…
pythongh-143866: Verify return value of `pathlib.write_{bytes,text}` …