Age | Commit message (Collapse) | Author |
|
|
|
_delSub can now accept a path and will optionally remove any empty parent elements after deleting the target elements.
|
|
|
|
_setSubText can now handle elements specified by an XPath expression, and
will build up the element tree as needed, reusing an existing elements in
the path.
|
|
Also added ElementBase._fix_ns() to apply the stanza namespace to elements that don't have a namespace.
|
|
|
|
jid attributes will return '' if not set
|
|
|
|
|
|
tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now uses the xmlns and stream parameters to reduce the number of
extra xmlns attributes used in the logging output.
Added self.default_ns to XMLStream just to be safe.
|
|
|
|
The sleekxmpp.xmlstream.tostring and sleekxmpp.xmlstream.tostring26 packages
have been merged to sleekxmpp.xmlstream.tostring. The __init__.py file will
import the appropriate tostring function depending on the Python version.
The setup.py file has been updated with the package changes.
ElementBase is now a direct descendent of object and does not subclass ToString.
Stanza objects now return their XML contents for __repr__.
|
|
Python version.
The package sleekxmpp.xmlstream.tostring26 remains for now until stanzabase is updated, but is no longer needed.
|
|
style.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
python version.
|
|
|