Thomas Nyberg added the comment: I added a patch which causes glob to raise a ValueError exception if it is called with an empty string. I also added a test verifying the change and have run all the tests and they pass.
Though I've been reading the developer guide, I'm a bit unfamiliar with the process here so I'm not totally sure I'm doing this right. I created the patch relative to the current default branch (even though the discussion here seems to indicate it should maybe be applied going back a few versions). ---------- hgrepos: +331 keywords: +patch nosy: +thomas.nyberg Added file: http://bugs.python.org/file41703/pathlib_glob.patch _______________________________________ 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