[Python-Dev] non-US zip archives support in zipfile.py (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Mon Oct 14 23:28:03 CEST 2013


Hello,

On Tue, 15 Oct 2013 00:55:05 +0400 Sergey Dorofeev <python at fidoman.ru> wrote:

Hello,

I'd like to submit patch to support zip archives created on systems that use non-US codepage (e.g. russian CP866). Codepage would be specified in additional parameter of ZipFile constructor, named "codepage". If it is not specified, old behavior is preserved (use CP437).

Thanks for contributing! Patches posted on the mailing-list tend to get lost. You should open an issue on the bug tracker and post your patch there: http://bugs.python.org/

Also, the devguide can help you know how to make your patch more complete (for example by adding unit tests): http://docs.python.org/devguide/

Regards

Antoine.



More information about the Python-Dev mailing list