Giovanni Cappellotto <potoma...@gmail.com> added the comment:
There's also the `makedirs`'s `exist_ok` optional parameter, `False` by default. You could use it to avoid this error, but I'm not an expert on this particular library, so I'm not sure if it would make sense to make this change. On a side note, searching for `_extract_member`, I found a very similar implementation of that function in `tarfile.py`. In case I think we should apply the same behavior in that module too. ---------- nosy: +potomak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37724> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com