[issue27824] update ConfigParser docs regarding in-line comments

2021-06-18 Thread Irit Katriel
Irit Katriel added the comment: This is explained in the example now, just above https://docs.python.org/3.10/library/configparser.html#interpolation-of-values It was changed here: https://github.com/python/cpython/commit/b25a791802a1915097e02bfba04e27a41ae55ebf -- nosy:

[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 "expected behavior" described in my

[issue27824] update ConfigParser docs regarding in-line comments

2016-08-22 Thread R. David Murray
R. David Murray added the comment: The python3 docs do not mention inline comments. Perhaps we even want a documented deprecation here? -- ___ Python tracker

[issue27824] update ConfigParser docs regarding in-line comments

2016-08-22 Thread R. David Murray
R. David Murray added the comment: Alternate proposal. Replace that whole paragraph with: Configuration files may include comments, prefixed by specific characters (# and ;). Comments may appear on their own in an otherwise empty line. If a line has a value or section name that does not

[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 after the