python-telegram-bot/telegram/ext
Noam Meltzer 881d1d0e25 fix/hack Updater.stop() not working on extreme cases
during test_bootstrap_retries_fail() there is an exception raised (by
design): TelegramError('test')

For a reason I haven't managed to pinpoint the above exception in its
precise timing caused the Updater to be left in a state which is
'self.running == False', but the dispatcher threads already initialized.
This patch identifies this extreme case and makes sure to go over the
stop procedure.
2016-06-17 23:53:18 +03:00
..
__init__.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
callbackqueryhandler.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
choseninlineresulthandler.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
commandhandler.py add allow_edited parameter to MessageHandler and CommandHandler 2016-05-27 11:07:06 +02:00
dispatcher.py dispatcher: if connection pool is already initialized raise exception 2016-06-01 22:30:34 +03:00
handler.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
inlinequeryhandler.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
jobqueue.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
messagehandler.py add allow_edited parameter to MessageHandler and CommandHandler 2016-05-27 11:07:06 +02:00
regexhandler.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
stringcommandhandler.py Set split_before_logical_operator to True 2016-05-23 17:19:35 -03:00
stringregexhandler.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
typehandler.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
updater.py fix/hack Updater.stop() not working on extreme cases 2016-06-17 23:53:18 +03:00