[New-bugs-announce] [issue45217] ConfigParser does not accept "No value" reversely to the doc
sbougnoux
report at bugs.python.org
Thu Sep 16 04:51:18 EDT 2021
New submission from sbougnoux <bougnoux at free.fr>:
Just the simple following config crashes
"""
[Bug]
Here
"""
Hopefully using "Here=" solves the issue, but the doc claims it shall work.
https://docs.python.org/3.8/library/configparser.html?highlight=configparser#supported-ini-file-structure
Save the config in "bug.ini", then write (it will raise an exception)
"""
from configparser import ConfigParser
ConfigParser().read('bug.ini')
"""
----------
assignee: docs at python
components: Demos and Tools, Documentation, Library (Lib)
messages: 401932
nosy: docs at python, sbougnoux
priority: normal
severity: normal
status: open
title: ConfigParser does not accept "No value" reversely to the doc
type: behavior
versions: Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45217>
_______________________________________
More information about the New-bugs-announce
mailing list