Eric V. Smith added the comment:

I agree with David. And, it already works, but uses '/', not '+':

>>> b / "_name.dat"
PosixPath('/tmp/some_base/_name.dat')

-1 to using + to be the equivalent of:

>>> pathlib.Path(str(b) + "_name.dat")
PosixPath('/tmp/some_base_name.dat')

----------
nosy: +eric.smith

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21798>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to