Future standard GUI library

Denis McMahon denismfmcmahon at gmail.com
Mon May 27 21:01:47 EDT 2013


On Tue, 28 May 2013 08:21:25 +1000, Chris Angelico wrote:

> I'll use XML when I have to, but if I'm inventing my own protocol,
> nope. There are just too many quirks with it. How do you represent an
> empty string named Foo?

> <Foo></Foo>

> or equivalently

> <Foo/>

> How do you represent an empty list named Foo? The same way. How do you
> represent an empty dict/mapping named Foo? Lemme look up my
> documentation... ah, the same way. Does this seem right to
> you?</JubalEarly>

<Foo type="list" />
<Foo type="mapping" />
<Foo type="string" />

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list