Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(257)

Unified Diff: Lib/packaging/config.py

Issue 12112: The new packaging module should not use the locale encoding
Patch Set: Created 2 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Lib/packaging/create.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/packaging/config.py
+++ b/Lib/packaging/config.py
@@ -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)
« no previous file with comments | « no previous file | Lib/packaging/create.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7