]> granicus.if.org Git - python/commit
packaging: don't use locale encoding to compute MD5 checksums
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 19 May 2011 13:09:57 +0000 (15:09 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 19 May 2011 13:09:57 +0000 (15:09 +0200)
commit35de5ac44db5c42c792b71077520a6b3ef29b199
treeb9f714bae4121e202f37a4b1520d99cd0b750fc8
parentcd0f7bfd3251e8469f311a6a1a9fe1d3d2259bf1
packaging: don't use locale encoding to compute MD5 checksums

Open the file in binary mode or use UTF-8 encoding.
Lib/packaging/command/install_distinfo.py
Lib/packaging/create.py
Lib/packaging/tests/test_command_install_distinfo.py