[issue33392] pathlib .glob('*/') returns files as well as directories
Emily Morehouse
report at bugs.python.org
Tue May 1 13:35:10 EDT 2018
Emily Morehouse <emily at cuttlesoft.com> added the comment:
Good find -- I agree that when using Path.cwd().glob('*/'), it should only return directories. This follows the original glob library's functionality as well as the Unix expectation (I believe Windows as well, but I'll double check).
I'll work on a fix!
----------
assignee: -> emilyemorehouse
nosy: +emilyemorehouse
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33392>
_______________________________________
More information about the Python-bugs-list
mailing list