Message374645
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 |
|
Date |
User |
Action |
Args |
2020-07-31 16:48:15 | Akuli | set | recipients:
+ Akuli, lars.gustaebel, ethan.furman, socketpair, rahul-kumi |
2020-07-31 16:48:15 | Akuli | set | messageid: <1596214095.23.0.446616713825.issue40666@roundup.psfhosted.org> |
2020-07-31 16:48:15 | Akuli | link | issue40666 messages |
2020-07-31 16:48:15 | Akuli | create | |
|