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 mkindahl
Recipients mkindahl
Date 2009-09-27.06:13:57
SpamBayes Score 1.1978951e-05
Marked as misclassified No
Message-id <1254032044.95.0.187935622211.issue7005@psf.upfronthosting.co.za>
In-reply-to
Content
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 without
values. Reading a my.cnf file is almost certain to include options
without values. The server can accept options with values even though
the value is not necessary, but there are some tools that do not allow
values for options that do not require them.

There is an attached patch that optionally will allow options to not
have a value. In order to distinguish options with no value from options
with the empty string, None is assigned to options without values.

The default behavior is to not allow options without values.
History
Date User Action Args
2009-09-27 06:14:05mkindahlsetrecipients: + mkindahl
2009-09-27 06:14:04mkindahlsetmessageid: <1254032044.95.0.187935622211.issue7005@psf.upfronthosting.co.za>
2009-09-27 06:14:03mkindahllinkissue7005 messages
2009-09-27 06:14:00mkindahlcreate