[issue35981] shutil make_archive create wrong file when base name contains dots at end

Karthikeyan Singaravelan report at bugs.python.org
Wed Feb 13 06:51:24 EST 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

Could be the case that it's windows specific. For "foo...bar..." abspath returns "foo...bar..." in Python on Mac. I don't have access to Windows but checking this on dotnet fiddle with C# which I hope uses Windows full path strips out the leading dots which I think could be a case with os.path.abspath used in make_archive.

Sample fiddle : https://dotnetfiddle.net/PhRr98.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35981>
_______________________________________


More information about the Python-bugs-list mailing list