New submission from Daniel Hillier <daniel.hill...@gmail.com>:
Setting the ZipFile.pwd attribute directly skips the check to ensure the password is a bytes object and, if not, return a user friendly TypeError("pwd: expected bytes, got <type>") informing them of that. ---------- components: Library (Lib) messages: 360118 nosy: dhillier priority: normal severity: normal status: open title: zipfile: add missing "pwd: expected bytes, got str" exception message type: enhancement versions: Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39359> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com