[issue27824] update ConfigParser docs regarding in-line comments

2016-08-22 Thread Joshua Haas
Joshua Haas added the comment: I'm not sure it's deprecated so much as moved. Python 3.5 includes an additional init parameter, so setting inline_comment_prefixes=';' allows inline comments even for values containing the ';' character, displaying the "

[issue27824] update ConfigParser docs regarding in-line comments

2016-08-21 Thread Joshua Haas
New submission from Joshua Haas: Originally reported at http://bugs.python.org/issue27762 as a behavior bug but was determined to be won't fix. Thus I think this needs to be mentioned in the documentation at https://docs.python.org/2/library/configparser.html I propose that directly afte

[issue27762] ConfigParser ignores in-line comments for lines with semi-colons

2016-08-13 Thread Joshua Haas
New submission from Joshua Haas: According to the 2.7 docs at https://docs.python.org/2/library/configparser.html, you can create in-line comments using ";" if it is preceded by white space. However, if the value of a config option contains a semi-colon, for example "pass