New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

I have not found any mention about the encoding of .pypirc files. Currently 
distutils uses the locale encoding for reading and writing them. It makes them 
potentially nonportable if they contain non-ASCII data (not sure if it is 
possible) and depending on the user settings.

I think that if the only ASCII content is allowed, it would be safer to use 
explicit ASCII encoding. If non-ASCII content is allowed, then it may be worth 
always to use UTF-8. What do you think?

----------
components: Distutils
messages: 372467
nosy: alexis, dstufft, eric.araujo, lemburg, paul.moore, serhiy.storchaka, tarek
priority: normal
severity: normal
status: open
title: distutils uses the locale encoding for the .pypirc file

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41143>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to