]> granicus.if.org Git - python/commit
Issue #12112: fix the encoding of setup.py in the packaging module
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 19 May 2011 19:42:47 +0000 (21:42 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 19 May 2011 19:42:47 +0000 (21:42 +0200)
commit9cf6d131411f1e9bca2f094137a970b711b664c4
tree5ecdeaeb3124d157a04afab8ac6f94764a116383
parent975077a88912d723c7c3277f5abc8b7497f63e2a
Issue #12112: fix the encoding of setup.py in the packaging module

 * read: use tokenize.detect_encoding()
 * write: use 'utf-8'
Lib/packaging/create.py
Lib/packaging/util.py