[issue35981] shutil make_archive create wrong file when base name contains dots at end
Karthikeyan Singaravelan
report at bugs.python.org
Wed Feb 13 09:26:23 EST 2019
Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:
On windows os.path.abspath("foo...bar..") returns "foo...bar" which is used in shutil.make_archive [0] returning foo...bar.zip. @matrixise , I am reopening this and adding Windows so that this can be confirmed as known behavior and closed.
https://github.com/python/cpython/blob/dcb68f47f74b0cc8a1896d4a4c5a6b83c0bbeeae/Lib/shutil.py#L964
----------
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
resolution: rejected ->
stage: resolved ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35981>
_______________________________________
More information about the Python-bugs-list
mailing list