Age | Commit message (Collapse) | Author |
|
|
|
xmlstream.matcher __init__.py files to make it simpler to import common classes.
|
|
place to specify a default timeout value when waiting for a stanza response.
|
|
use the namespace in a tag name if one is given and to use
self.namespace otherwise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
references to nonexistant license.txt to LICENSE.
|
|
attribute accessors
|
|
|
|
registerStanzaPlugin function.
Updated plugins and tests to use new function.
|
|
entire tree is copied.
|
|
Stanzas may now be copied using copy.copy(), which will be useful to prevent
stanza objects from being shared between event handlers.
|
|
The previous version passed the same stanza object to each registered handler,
which can cause issues when the stanza object is modified by one handler. The next
handler receives the stanza with the modifications, not the original stanza.
|
|
|
|
|
|
|
|
|
|
For example:
iq.reply().error().setPayload(something.xml).send()
|
|
|
|
|
|
test coverage
|
|
|
|
stanzas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* added stanza.keys()
* stanza.getValues() now return substanzas and plugins
* stanza.setValues() now can read substanzas and plugins
* stanzas can now be iterable if stanza.subitem is set to a class
|