[issue38807] Better exception message in os.path.join

2019-11-14 Thread Tomás Farías
Change by Tomás Farías : -- keywords: +patch pull_requests: +16669 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17160 ___ Python tracker <https://bugs.python.org/issu

[issue38807] Better exception message in os.path.join

2019-11-14 Thread Tomás Farías
New submission from Tomás Farías : Passing an object with an invalid type, like None, to os.path.join after the first argument results in the following exception: TypeError: join() argument must be str or bytes, not 'NoneType' Exception message can be updated to show that os.PathLi