[issue23076] path.glob("") fails with IndexError

liu chang report at bugs.python.org
Thu Dec 18 05:30:48 CET 2014


liu chang added the comment:

In[6]: pathlib.Path.glob("")
Traceback (most recent call last):
  File "/home/liuchang/ENV3/lib/python3.4/site-packages/IPython/core/interactiveshell.py", line 2883, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-6-a6dcf250fe73>", line 1, in <module>
    pathlib.Path.glob("")
TypeError: glob() missing 1 required positional argument: 'pattern'

the version of my python is 3.4。
I got a TypeError, No IndexError。

----------
nosy: +liu chang

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23076>
_______________________________________


More information about the Python-bugs-list mailing list