[issue19214] shutil.make_archive should recognize extensions in filenames

2021-06-18 Thread Irit Katriel
Irit Katriel added the comment: I agree with William that it is better to do this in a helper function than to further complicate make_archive. -- nosy: +iritkatriel resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tra

[issue19214] shutil.make_archive should recognize extensions in filenames

2014-04-29 Thread William Tisäter
William Tisäter added the comment: I'm not sure if this is a suitable feature in `make_archive()`, it would only introduce a more expensive and ugly lookup. Using this method with a pre-defined filename including extension must be rare. If you really want this behaviour, I would prefer having

[issue19214] shutil.make_archive should recognize extensions in filenames

2013-10-10 Thread Andreas Hilboll
New submission from Andreas Hilboll: shutil.make_archive should be able to automatically determine the desired *format* from the given filename. It would make life easier, because the programmer wouldn't need to strip the extension from the filename before passing it to make_archive. I'm think