[Distutils] Bug in parsing of .cfg files

Fred L. Drake, Jr. fdrake@beopen.com
Wed Sep 20 09:38:01 2000

Bastian Kleineidam writes:
 > It is very easy to "parse" config files if they are written in correct
 > Python code. You just use the Python builtin program parser.
 > Unfortunately Python does not allow a hyphen in a variable name.

  That doesn't seem like the right way to parse config data.  Why not
use the ConfigParser module?  Hyphens are allowed, and the syntax
seems to match.  (Greg might even have written it this way; not sure.)


Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member