Serhiy Storchaka added the comment: There are two differences between filterfunc arguments in zipapp and PyZipFile:
1. An argument of filterfunc is a string in PyZipFile and a Path object in zipapp. 2. The patch in zipapp is relative to the root of the archive. The patch in PyZipFile is a path on FS (absolute or relative to the current working directory). I afraid that these differences can cause confusions. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31072> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com