Skip Montanaro added the comment:
What little I could find about Windows INI file syntax didn't identify the
valid character set of the keys. Like other Windows-based file formats, INI
seems to only be operationally defined. It wouldn't surprise me if you needed
to restrict yourself to the usual identifier syntax. In regular expression
terms:
[_A-Za-z][a-zA-Z_0-9]*
----------
nosy: +skip.montanaro
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24371>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com