[Twisted-Python] Twisted Plugins - Implementation Discussion

Glyph Lefkowitz glyph at twistedmatrix.com
Thu Apr 7 01:46:51 EDT 2011


On Apr 7, 2011, at 1:08 AM, Tim Allen wrote:

> Well, the nice thing about ConfigParser is that it's in the stdlib, and
> people already know how to create them, and rolling
> yet-another-config-file-format seems crazy in this day and age.

My point was really that people think they know how to create these, but actually they don't.  Pop quiz, hot shot: what is the quoting rule to put a linebreak with preserved trailing whitespace into a value in a .ini file?  Into a key?

> If you need a non-Turing-complete config language and rule out .ini and
> XML, I'm not sure what's left. JSON, perhaps.

Pickle, of course.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110407/827b8295/attachment.htm 


More information about the Twisted-Python mailing list