[Tutor] config file parsing problem.

Thomi Richards thomi at imail.net.nz
Sun Sep 7 22:00:52 EDT 2003


>
> Are you commenting individual options?  And how are comments "attached" to
> the key-value pairs?  On the same line, or on top?  Perhaps ConfigParser
> could be extended to preserve comments that are attached to certain
> options.
>
>
Comments span multiple lines, and are not always directly associated with the 
option.

How easy / hard would it be to extend ConfigParser to handle this? It would 
seem to me that it would require a significant code change for the module.

Any ideas?

-- 
Thomi Richards,
http://once.sourceforge.net/






More information about the Tutor mailing list