Hugo
d5175c38da
Drop python2-specific syntax ( #1674 )
...
* Drop syntax required only for Python 2
* Drop python2-style super() calls
Co-authored-by: Selwin Ong <selwin.ong@gmail.com>
3 years ago
Vincent Driessen
38ec259b6e
Enable the most modern Python syntax.
11 years ago
Vincent Driessen
48cee215af
Rewrite of the connection setup.
...
I'd want to advice against using `use_connection()` more, as the
connection setup is less explicit, and also pollutes global memory.
Because, well:
$ python -m this | head -n4 | tail -n1
;)
13 years ago
Jeffrey Gelens
31259fa106
Fixed examples. use_connection is now being used.
13 years ago
Vincent Driessen
d780c929c0
Change semantics of work(). Add work_burst().
...
work() will now start the worker run loop, and work_burst() now leads to
the burst-then-quit behaviour.
13 years ago
Vincent Driessen
22f3da1832
Update README (and example).
13 years ago
Vincent Driessen
cd31f6aba9
Adapt examples so they run again.
...
Remove sync part of the example.
13 years ago
Vincent Driessen
9b51083fd2
Add example and README updates.
13 years ago