This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lukasz.langa
Recipients DanielFortunov, eric.araujo, lukasz.langa
Date 2011-09-02.21:25:34
SpamBayes Score 0.0001629488
Marked as misclassified No
Message-id <1314998735.87.0.257093821691.issue12862@psf.upfronthosting.co.za>
In-reply-to
Content
Daniel, thank you for your report. Indeed, 3.2+ has an updated configparser where we turned off support for inline comments (e.g. comments after option values). This was decided after we discovered how inconsistent it is. Your report shows this decision was the right one.

As for 2.7 unfortunately it's long in maintenance mode now so no functional changes are possible.

I've prepared a backport of the 3.2+ configparser for 2.6+. It is available on PyPI: http://pypi.python.org/pypi/configparser. Have a look, might solve your problem (and quite a bunch of others I suppose).

Éric, the docs clearly state that currently only full-line comments are enabled by default.
History
Date User Action Args
2011-09-02 21:25:35lukasz.langasetrecipients: + lukasz.langa, eric.araujo, DanielFortunov
2011-09-02 21:25:35lukasz.langasetmessageid: <1314998735.87.0.257093821691.issue12862@psf.upfronthosting.co.za>
2011-09-02 21:25:35lukasz.langalinkissue12862 messages
2011-09-02 21:25:34lukasz.langacreate