mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Issue #12112: packaging reads and writes setup.cfg using UTF-8
This commit is contained in:
parent
4c9706bd27
commit
dd13dd4bcc
5 changed files with 11 additions and 11 deletions
|
|
@ -282,7 +282,7 @@ class Config:
|
|||
|
||||
for filename in filenames:
|
||||
logger.debug(" reading %s", filename)
|
||||
parser.read(filename)
|
||||
parser.read(filename, encoding='utf-8')
|
||||
|
||||
if os.path.split(filename)[-1] == 'setup.cfg':
|
||||
self._read_setup_cfg(parser, filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue