This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrei.avk
Recipients af, andrei.avk, lars.gustaebel, moloney, puppet, r.david.murray, serhiy.storchaka, vstinner, zigg
Date 2021-12-28.17:08:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640711286.77.0.664535057162.issue21987@roundup.psfhosted.org>
In-reply-to
Content
The original issue was twofold:
1. below 100 char not working with trailing slash
2. over 100 char not working WITHOUT trailing slash

The second part is no longer an issue -- tested in 3.9 and 3.11 on MacOS.

Currently the issue is that a trailing slash now doesn't work for lookup of dirs, no matter the size of name.

This is inconsistent with the way shell commands work as well as various Python path related modules that tolerate trailing slash for dirs.

This can cause users to wrongly assume a dir is absent in a tarfile, so I think it's worth fixing and I've added a PR with a test for both old and new issue.
History
Date User Action Args
2021-12-28 17:08:06andrei.avksetrecipients: + andrei.avk, lars.gustaebel, vstinner, r.david.murray, serhiy.storchaka, puppet, moloney, zigg, af
2021-12-28 17:08:06andrei.avksetmessageid: <1640711286.77.0.664535057162.issue21987@roundup.psfhosted.org>
2021-12-28 17:08:06andrei.avklinkissue21987 messages
2021-12-28 17:08:06andrei.avkcreate