diff options
author | Przemysław Spodymek <przemyslaw@spodymek.com> | 2018-08-27 21:33:45 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2018-08-27 21:33:45 (GMT) |
commit | 216b745eafa7cd4a683a8405dcfbd7f5567f504c (patch) | |
tree | a7c4bdd4ddc248117e23cebb7602802fcafb6b45 /Misc | |
parent | 7ef1697be54a74314d5214d9ba0580d4e620694c (diff) | |
download | cpython-216b745eafa7cd4a683a8405dcfbd7f5567f504c.zip cpython-216b745eafa7cd4a683a8405dcfbd7f5567f504c.tar.gz cpython-216b745eafa7cd4a683a8405dcfbd7f5567f504c.tar.bz2 |
bpo-33635: Handling Bad file descriptor in Path.is_file and related. (GH-8542)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/macOS/2018-07-31-09-51-01.bpo-33635.KiscE-.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/macOS/2018-07-31-09-51-01.bpo-33635.KiscE-.rst b/Misc/NEWS.d/next/macOS/2018-07-31-09-51-01.bpo-33635.KiscE-.rst new file mode 100644 index 0000000..90d9ab6 --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2018-07-31-09-51-01.bpo-33635.KiscE-.rst @@ -0,0 +1,5 @@ +In macOS stat on some file descriptors (/dev/fd/3 f.e) will result in bad +file descriptor OSError. Guard against this exception was added in is_dir, +is_file and similar methods. DirEntry.is_dir can also throw this exception +so _RecursiveWildcardSelector._iterate_directories was also extended with +the same error ignoring pattern. |