[issue8199] zipfile.py: consistency between "write" and "writestr"

2010-03-22 Thread Brian Curtin
Brian Curtin added the comment: Actually this was recently fixed on trunk (r78097) and py3k (r78098). See #6003. -- resolution: -> duplicate status: open -> closed ___ Python tracker __

[issue8199] zipfile.py: consistency between "write" and "writestr"

2010-03-22 Thread Brian Curtin
Brian Curtin added the comment: Given that this is a feature request, it would go into 2.7 rather than 2.6. The patch will need a test (see Lib/test/test_zipfile.py) and a documentation update (see Doc/library/zipfile.rst). -- nosy: +brian.curtin priority: -> normal stage: -> test n

[issue8199] zipfile.py: consistency between "write" and "writestr"

2010-03-22 Thread Hervé Cauwelier
New submission from Hervé Cauwelier : Hi, In class "ZipFile", method "write" accepts "compress_type" parameter but not the "writestr" method. I see no reason for this limitation and the change is trivial. This is needed for generating ODF documents since the mimetype file must not be compres