[issue16374] ConfigParser: Passing a semicolon as a value

2012-11-02 Thread Łukasz Langa
Łukasz Langa added the comment: Well, the inline comment syntax was awkward to start with, that's why inline comments are now disabled by default since Python 3.2. For a more predictable situation with regard to comment handling, consider using the configparser 3.2+ backport for Python 2.6 and

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Berker Peksag
Berker Peksag added the comment: > Cannot reproduce that with Ubuntu 12.04. +1. Attached a reproducer. -- nosy: +berker.peksag Added file: http://bugs.python.org/file27819/reproducer.py ___ Python tracker ___

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Michael Grünewald
Michael Grünewald added the comment: Cannot reproduce that with Ubuntu 12.04. Python 2.7 returned ";" under both Windows 7 and Ubuntu 12.04. Can you verify that there was no space before the semicolon? Otherwise the semicolon gets treated as the beginning of an inline comment. -- nosy

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Daniel Gordon
New submission from Daniel Gordon: I have a configuration file containing a key and value: delimiter=; Using ConfigParser, the resulting value of the key delimiter is empty. Expected behavior should be a semicolon as the value. This behavior occurred on Linux (Ubuntu 12.04) but not on Windows 7