[issue7005] ConfigParser does not handle options without values

2009-11-14 Thread Mats Kindahl
Mats Kindahl added the comment: So, what is the status on this? Who needs to review it? Is there anything I can do to get it accepted? Do I need to make any changes (in addition to those already suggested and done by fdrake)? -- ___ Python tracker

[issue7005] ConfigParser does not handle options without values

2009-09-29 Thread Mats Kindahl
Mats Kindahl added the comment: Adding patch with the changes requested by Fred. -- Added file: http://bugs.python.org/file14993/cfgparser-2.patch ___ Python tracker <http://bugs.python.org/issue7

[issue7005] ConfigParser does not handle options without values

2009-09-28 Thread Mats Kindahl
Mats Kindahl added the comment: Fred L. Drake, Jr. wrote: > Fred L. Drake, Jr. added the comment: > > The test "value is not None" in line 620 (of the new version) could be > just "value" and get a little more value from less code. OK. > > I don'

[issue7005] ConfigParser does not handle options without values

2009-09-28 Thread Mats Kindahl
Mats Kindahl added the comment: I replied to the mail, but I don't know if it is attached to the issue, so I'll repeat here. I'll change the "value is not None" to just "value" where I used that idiom. The style of using options without values is quite c

[issue7005] ConfigParser does not handle options without values

2009-09-26 Thread Mats Kindahl
New submission from Mats Kindahl : When ConfigParser is used to read in a my.cnf file (MySQL Server Configuration File), it fails for options that do not have value. ConfigParser is designed to require a value for each option, but some systems, such as MySQL option file reader, accepts options