[issue1527597] New module: miniconf

S.Fourmanoit report at bugs.python.org
Mon Mar 30 08:48:06 CEST 2009


S.Fourmanoit <syfou at users.sourceforge.net> added the comment:

Daniel,

I see many people relying on print() and exec() to basically perform the
same task miniconf does: dumping and loading groups of parameters in a
human-readable, 100% pythonic form. Look in the wild: 

http://www.google.com/search?q=exec+filetype:py

I think that if we had a painless, almost drop-in replacement to do the
same thing without risking feeding arbitrary code to the interpreter, we
would use it.

Anyway, thanks for the work of Bob Ippolito, we now have a json module
in the standard library: it's fast, robust, and can pretty much cover
the same use case, so I am happy; It just feels slightly weird to save
and load configuration files in a javascript syntax from python apps. :-D

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1527597>
_______________________________________


More information about the Python-bugs-list mailing list