New submission from Antony Lee:

glob.glob returns an empty list when passed an empty pattern as argument, but 
pathlib's Path.glob fails with IndexError.  The first option seems more 
reasonable (or at least it should be a ValueError).

components: Library (Lib)
messages: 232841
nosy: Antony.Lee
priority: normal
severity: normal
status: open
title: path.glob("") fails with IndexError
versions: Python 3.4

Python tracker <>
Python-bugs-list mailing list

Reply via email to