summaryrefslogtreecommitdiff
path: root/examples/ping.py
AgeCommit message (Collapse)Author
2014-09-01Reintroduce XMLStream.process, making it run the asyncio event loop.Emmanuel Gil Peyrot
2014-09-01Remove threaded from examples’ add_event_handler.Emmanuel Gil Peyrot
2014-09-01Remove raw_input usage and other python2 support in examplesEmmanuel Gil Peyrot
2014-09-01Set the shebang to python3 everywhere.Emmanuel Gil Peyrot
2014-07-17Rename to slixmppFlorent Le Coz
2014-01-21Examples fixesAnton Ryzhov
2013-01-20Updated XEP-0199 to take and return standardized values.Lance Stout
Handles Iq errors appropriately when the recipient can't be found.
2012-10-24added setdefaultencoding method so reload(sys) not neededPaul Molodowitch
reload(sys) could cause problem in user code - ie, sys.stdout, excepthook, and displayhook would be reset, etc
2012-05-06Update other examples to use threaded mode for handlers that call disconnect()Lance Stout
2012-01-02Merge pull request #132 from rhcarvalho/masterLance Stout
Fix a typo in several files.
2012-01-02Fix a typo in several files.Rodolfo Carvalho
This fixes several instances of "intial" for "initial".
2011-12-31Merge pull request #131 from rhcarvalho/masterLance Stout
Small changes to the examples
2011-12-31Remove unused imports in the examples.Rodolfo Carvalho
2011-12-30Merge pull request #130 from rhcarvalho/masterLance Stout
Some small fixes
2011-12-30Update examples to use the block'' argument instead of the deprecated ↵Rodolfo Carvalho
threaded''.
2011-12-30Replace pydns with dnspython in the comments of the examples.Rodolfo Carvalho
2011-11-19Tidy up logging calls.Lance Stout
2011-11-20This change stops sleekxmpp from spending huge amounts of time unnecessarily ↵Vijay Pandurangan
computing logging data that may never be used. This is a HUGE performance improvement; in some of my test runs, unnecessary string creation was accounting for > 60% of all CPU time. Note that using % in a string will _always_ perform the sting substitutions, because the strings are constructed before the function is called. So log.debug('%s' % expensiveoperation()) will take about the same CPU time whether or not the logging level is DEBUG or INFO. if you use , no substitutions are performed unless the string is actually logged
2011-08-18Update examples to work with Python3 (raw_input vs input)Lance Stout
2011-03-23Tidy up the examples.Lance Stout
2011-02-11Updated XEP-0199 plugin.Lance Stout
Now has docs and uses the new plugin format.
2011-02-10added option to return false on ping error, added ping exampleNathan Fritz