diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-02-05 20:51:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 20:51:11 (GMT) |
commit | 652fbf88c4c422ff17fefd4dcb5e06b5c0e26e74 (patch) | |
tree | 61b36dd4f458619c68bbee592bade7ed18993dda /Misc | |
parent | 09096a1647913526a3d4fa69a9d2056ec82a8f37 (diff) | |
download | cpython-652fbf88c4c422ff17fefd4dcb5e06b5c0e26e74.zip cpython-652fbf88c4c422ff17fefd4dcb5e06b5c0e26e74.tar.gz cpython-652fbf88c4c422ff17fefd4dcb5e06b5c0e26e74.tar.bz2 |
gh-82626: Emit a warning when bool is used as a file descriptor (GH-111275)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-10-24-19-19-54.gh-issue-82626._hfLRf.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-10-24-19-19-54.gh-issue-82626._hfLRf.rst b/Misc/NEWS.d/next/Library/2023-10-24-19-19-54.gh-issue-82626._hfLRf.rst new file mode 100644 index 0000000..92a66b5 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-10-24-19-19-54.gh-issue-82626._hfLRf.rst @@ -0,0 +1,2 @@ +Many functions now emit a warning if a boolean value is passed as a file +descriptor argument. |