[issue24371] configparser hate dot in option like eth2.6

Zachary Ware report at bugs.python.org
Fri Jun 5 05:57:58 CEST 2015


Zachary Ware added the comment:

Am I missing something here?

Python 3.6.0a0 (default:c2c3b79ba992, Jun  4 2015, 10:24:23)
>>> from configparser import ConfigParser
>>> cp = ConfigParser()
>>> cp.read_string("""\
... [remember]
... eth2.6 = True
... eth5 = True
... """)
>>> cp['remember']['eth2.6']
'True'

----------
nosy: +zach.ware

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


More information about the Python-bugs-list mailing list