slixmpp/sleekxmpp/xmlstream
Lance Stout a1ddd88208 Add support for a new type of stanza interface: bool
The set of bool_interfaces provides default behaviour for
checking/setting the presence of empty subelements.

The prime example of this would be:

    bool_interfaces = set(['required'])

This would mean that ``stanza['required']`` would return ``True`` for:

    <stanza>
       <required />
    </stanza>

and ``False`` for:

    <stanza />

Likewise, assigning ``stanza['required'] = True`` would add an empty
``<required />`` element, and setting it to ``False`` would remove
such an element if it exists.
2012-03-27 21:05:50 -07:00
..
handler More pyflakes cleanup. 2012-02-18 11:44:05 -08:00
matcher Pre-parse StanzaPath paths to speed up matching. 2012-01-17 22:28:44 -08:00
__init__.py Underscore names by default. 2010-10-17 22:04:42 -04:00
filesocket.py Add docs for filesocket 2011-11-22 16:33:38 -08:00
jid.py Hash JIDs based on full JID string. 2012-01-17 23:03:48 -08:00
scheduler.py More pyflakes cleanup. 2012-02-18 11:44:05 -08:00
stanzabase.py Add support for a new type of stanza interface: bool 2012-03-27 21:05:50 -07:00
test.py moved seesmic branch to trunk 2009-06-03 22:56:51 +00:00
test.xml moved seesmic branch to trunk 2009-06-03 22:56:51 +00:00
testclient.py moved seesmic branch to trunk 2009-06-03 22:56:51 +00:00
tostring.py Update tostring docs, plus more doc cleanup 2011-11-22 16:25:33 -08:00
xmlstream.py Simplify sending whitespace keepalives. 2012-03-27 20:53:27 -07:00