New submission from Akuli <[email protected]>:
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 ---------- nosy: +Akuli _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue40666> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
