[issue33891] ntpath join doesnt check whether path variable None or not

2018-06-20 Thread Xiang Zhang
Xiang Zhang added the comment: This is not a bug in ntpath. Raising a TypeError is a normal behavior when passed a wrong argument and I think the error message tells good info. You should figure out why pipenv passes a None to os.path.join. -- nosy: +xiang.zhang resolution: -> not a

[issue33891] ntpath join doesnt check whether path variable None or not

2018-06-17 Thread Ömer FADIL USTA
New submission from Ömer FADIL USTA : In https://github.com/python/cpython/blob/master/Lib/ntpath.py#L76 def join(path, *paths): path = os.fspath(path) the path variable used directly in fspath method without checking is exist or not so it cause : File "d:\python\37\lib\runpy.py", line 193,