[issue11160] ZipFile.comment expects bytes
March 19, 2022
5:01 p.m.
Irit Katriel <iritkatriel@gmail.com> added the comment: The documentation has been updated by now [1]: ZipFile.comment The comment associated with the ZIP file as a bytes object. If assigning a comment to a ZipFile instance created with mode 'w', 'x' or 'a', it should be no longer than 65535 bytes. Comments longer than this will be truncated. [1] https://docs.python.org/3/library/zipfile.html#zipfile.ZipFile.comment ---------- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue11160> _______________________________________
1364
Age (days ago)
1364
Last active (days ago)
0 comments
1 participants
participants (1)
-
Irit Katriel