[issue33635] OSError when using pathlib.Path.rglob() to list device files

2019-03-19 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-08-27 Thread miss-islington
miss-islington added the comment: New changeset 2cf33161f7cb4ca726c74fcfa2d6db27073953d8 by Miss Islington (bot) in branch '3.7': bpo-33635: Handling Bad file descriptor in Path.is_file and related. (GH-8542) https://github.com/python/cpython/commit/2cf33161f7cb4ca726c74fcfa2d6db27073953d8

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-08-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +8435 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-08-27 Thread Steve Dower
Steve Dower added the comment: New changeset 216b745eafa7cd4a683a8405dcfbd7f5567f504c by Steve Dower (Przemysław Spodymek) in branch 'master': bpo-33635: Handling Bad file descriptor in Path.is_file and related. (GH-8542)

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-07-29 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8059 stage: -> patch review ___ Python tracker ___ ___

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: Os.stat is defined in C code, in particular in Modules/posixmodule.c. Op 20 jul. 2018 om 10:44 heeft Windson Yang het volgende geschreven: > > Windson Yang added the comment: > > I tried to fix this issue and I found this should be related to

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-07-20 Thread Windson Yang
Windson Yang added the comment: I tried to fix this issue and I found this should be related to os.stat() in os.py. But I can't find the os.stat() API in the file, any ideas? -- nosy: +Windson Yang ___ Python tracker

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-07-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-07-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-05-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is fairly odd behaviour of macOS, the same error can be seen from a bash session: $ stat /dev/fd/3 stat: /dev/fd/3: stat: Bad file descriptor The reason os.walk() works while the Path().is_file doesn't is that os.walk()

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-05-24 Thread Victor Domingos
Change by Victor Domingos : -- components: +IO, macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-05-24 Thread Victor Domingos
New submission from Victor Domingos : This method fails with an error when it finds a character or block device (like those found in /dev on macOS). However, in the same machine, with the same Python version, the alternative os.walk() performs basically the same