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/", line 999, in glob
    selector = _make_selector(tuple(pattern_parts))
  File "/usr/lib64/python3.5/", line 458, in wrapper
    result = user_function(*args, **kwds)
  File "/usr/lib64/python3.5/", 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 <>
Python-bugs-list mailing list

Reply via email to