Message356640
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 can be used:
TypeError: join() argument must be str, bytes or os.PathLike object, not 'NoneType'
This is also more consistent with the TypeError raised by os.fspath. |
|
Date |
User |
Action |
Args |
2019-11-15 01:02:30 | tomasfarias | set | recipients:
+ tomasfarias |
2019-11-15 01:02:30 | tomasfarias | set | messageid: <1573779750.02.0.708670809394.issue38807@roundup.psfhosted.org> |
2019-11-15 01:02:29 | tomasfarias | link | issue38807 messages |
2019-11-15 01:02:29 | tomasfarias | create | |
|