[New-bugs-announce] [issue32567] Venv’s config file (pyvenv.cfg) should be compatible with ConfigParser
Tzu-ping Chung
report at bugs.python.org
Tue Jan 16 05:44:16 EST 2018
New submission from Tzu-ping Chung <uranusjr at gmail.com>:
I’m not sure if it is intended, but it seems wrong to me that pyvenv.cfg is using a format that ConfigParser does not recognise. ConfigParser requires all values be placed under a section, but pyvenv.cfg does not do that.
Maybe related:
* ConfigParser’s format requirement: https://docs.python.org/3/library/configparser.html#supported-ini-file-structure
* How venv creates the configuration file: https://github.com/python/cpython/blob/master/Lib/venv/__init__.py#L141
* Abandoned discussion on whether ConfigParser should support section-less format #22253
----------
components: Library (Lib)
messages: 310071
nosy: uranusjr
priority: normal
severity: normal
status: open
title: Venv’s config file (pyvenv.cfg) should be compatible with ConfigParser
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32567>
_______________________________________
More information about the New-bugs-announce
mailing list