Commit graph

27 commits

Author SHA1 Message Date
Noam Meltzer
d415a60ebf join() threads instead of guessing if they're running
- new book keeping of dispatcher's async threads so they can be joined
   when stopping
 - updater, webhook & dispatcher threads are now kept on
   Updater.__threads so they can be joined at the end

refs #175
2016-02-19 18:00:57 +02:00
Jannes Höke
5b9ec7ff40 catch errors in error handlers 2016-02-07 22:40:55 +01:00
Noam Meltzer
4a5001668d updater/dispatcher: on exception stop all threads 2016-02-07 00:56:30 +02:00
Noam Meltzer
e82ae432f7 dispatcher is now stopped using a threading.Event 2016-02-07 00:56:30 +02:00
Juan Madurga
cbcbfab45f fix pep8 2016-01-22 16:42:39 +01:00
Juan Madurga
1dc9907a70 fix code comments by jh0ker 2016-01-22 16:30:55 +01:00
Juan Madurga
a6650de93d Add context parameter to dispatcher. Handlers now can updates with a context data if required 2016-01-20 19:56:41 +01:00
leandrotoledo
dfc75cc64e Add docstring style checker and fixing some 2016-01-13 14:09:35 -02:00
Jannes Höke
b78ceeed10 fix race condition in dispatcher 2016-01-06 15:36:14 +01:00
Jannes Höke
aa8966832b release 3.2 and update copyright notice to 2015-2016 2016-01-05 14:12:03 +01:00
Jannes Höke
c756aa1c02 remove error raising in dispatchType 2016-01-05 12:49:48 +01:00
Jannes Höke
623863cee1 fix exception logging 2016-01-04 01:32:00 +01:00
Jannes Höke
119743433d merge Tengah-master into master 2015-12-31 15:41:37 +01:00
Bob Pasker
b0ad07f30f remove traceback import 2015-12-31 09:29:02 -05:00
Jannes Höke
3e1cb08567 flake8 2015-12-31 15:03:40 +01:00
Jannes Höke
29a4062945 properly lock updater and dispatcher start/stop methods 2015-12-31 14:58:01 +01:00
Bob Pasker
cc6c4a6eb9 Change a print statement to use logger instead 2015-12-31 08:33:42 -05:00
Jannes Höke
41ba57f064 don't stop the dispatcher thread on uncaught errors 2015-12-29 14:28:39 +01:00
Jannes Höke
f75e329225 fix docstring 2015-12-21 21:40:41 +01:00
Jannes Höke
ea7c54ba07 Release v3.1.1, change author email everywhere 2015-12-21 21:18:53 +01:00
Jannes Höke
3c7b037eaa add additional arguments 'groups' and 'groupdict' for regex handlers 2015-12-21 20:25:31 +01:00
Jannes Höke
c15a1bc151 fix for #123 2015-12-21 19:36:17 +01:00
Jannes Höke
e0233a59a0 fix docstrings for sphinx 2015-12-16 16:18:48 +01:00
Jannes Höke
f5ac1ae067 debug message after processing update 2015-12-01 21:45:12 +01:00
Jannes Höke
ef569b68c6 update docs 2015-11-24 21:07:13 +01:00
Jannes Höke
8090658ab4 log warning 2015-11-24 19:33:41 +01:00
Jannes Höke
15501e185b renamed broadcaster.py to dispatcher.py 2015-11-22 14:52:41 +01:00
Renamed from telegram/broadcaster.py (Browse further)