ConfigParser Problem

Jarek Zgoda jzgoda at usun.gazeta.pl
Mon Feb 10 21:44:05 CET 2003


cout <cout at netvigator.com> pisze:
 
> Since the "hostName" repeat twice in section [engineInfo]. It seems
> ConfigParse only returns the last key values.

It's a feature, not a bug, but Delphi ends with exception in such case.
I would propose such behavior for Python also, since duplicated keys are
dropped silently in mappings (as it is implemented in ObjectPascal) and
this case is rather special.

-- 
Jarek Zgoda
http://www.zgoda.biz/
JID:jarek at jabberpl.org




More information about the Python-list mailing list