◐ Shell
clean mode source ↗

Message 156886 - Python tracker

Hmm.  When I did the same (changed to b'...') and ran it, I got an archive test.zip.  When I then opened that archive using ZipFile, its comment attribute was b''.  Thus I concluded that the bug exists in Python3.  I don't remember seeing any output from running the script, and indeed I would not expect to.  How did you run it?

Also, I used the uniz unzip command on the produced archive, and got a corrupted archive error message and a warning about an incorrect comment length.