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

2019-11-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset b5bb3b637c6b55f49d8979a5f489d01a67c4f917 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-38807: Add os.PathLike to exception message raised by _check_arg_types (GH-17160) (GH-17249) https://github.com/python/cpython/commit/b

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

2019-11-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset fe75b62575bcfdf1c39be71c1e50257832a596db by Raymond Hettinger (Tomás Farías) in branch 'master': bpo-38807: Add os.PathLike to exception message raised by _check_arg_types (#17160) https://github.com/python/cpython/commit/fe75b62575bcfdf1c39b

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

2019-11-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +16746 pull_request: https://github.com/python/cpython/pull/17249 ___ Python tracker ___ __

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

2019-11-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the report and for the PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[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 ___

[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.PathLike objects