Arfrever Frehtes Taifersar Arahesis added the comment: >>> list(pathlib.Path().glob("")) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.5/pathlib.py", line 999, in glob selector = _make_selector(tuple(pattern_parts)) File "/usr/lib64/python3.5/functools.py", line 458, in wrapper result = user_function(*args, **kwds) File "/usr/lib64/python3.5/pathlib.py", line 403, in _make_selector pat = pattern_parts[0] IndexError: tuple index out of range >>>
---------- assignee: -> pitrou nosy: +Arfrever, pitrou title: path.glob("") fails with IndexError -> list(pathlib.Path().glob("")) fails with IndexError versions: +Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23076> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com