[issue25185] Inconsistency between venv and site

Vinay Sajip report at bugs.python.org
Mon Sep 28 19:57:10 CEST 2015


Vinay Sajip added the comment:

> I suspect that this can break backward compatibility.

But since venv writes it out as UTF-8 already, it should be read in UTF-8, and if it isn't, isn't that the cause of the error which led to this bug we're talking about?

If we now write it with locale encoding, anything that previously assumed we were writing it in UTF-8 might break. While I'm not aware of any specific software which reads pyvenv.cfg other than the site.py code, there could well be third party code which does so.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25185>
_______________________________________


More information about the Python-bugs-list mailing list