Author Akuli
Recipients Akuli, ethan.furman, lars.gustaebel, rahul-kumi, socketpair
Date 2020-07-31.16:48:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596214095.23.0.446616713825.issue40666@roundup.psfhosted.org>
In-reply-to
Content
TarFile.add seems to support pathlib.Path objects (and other PathLike string paths) starting at Python 3.6, for both name and arcname. The paths go to `os.path` functions that return strings.

Recently typeshed was updated to support passing pathlib.Paths in TarFile.add: https://github.com/python/typeshed/pull/4369
History
Date User Action Args
2020-07-31 16:48:15Akulisetrecipients: + Akuli, lars.gustaebel, ethan.furman, socketpair, rahul-kumi
2020-07-31 16:48:15Akulisetmessageid: <1596214095.23.0.446616713825.issue40666@roundup.psfhosted.org>
2020-07-31 16:48:15Akulilinkissue40666 messages
2020-07-31 16:48:15Akulicreate