Nitish <nitishchandrachi...@gmail.com> added the comment: > This check was the source of a bug that caused tarfile to report a regular as > a directory because the file path was extra long, and when the tar write > truncated the path to the first 100B, it so happened to end on a slash.
AFAIK, '/' character is not allowed as part of a filename on Linux systems. Is this bug platform specific? Can you give the testcase you are referring to. ---------- nosy: +nitishch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31557> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com