python-telegram-bot/telegram/ext
Noam Meltzer ddf3a1fcad
jobqueue: Thread safety fixes (#977)
- Fix JobQueue.jobs to obtain a lock on the internal queue object prior
   to iterating over it.

 - Rename JobQueue.queue to JobQueue._queue. This shouldn't be
   accessible by the user directly, but rather only with sanitized
   thread safe methods.

 - JobQueue.interval_seconds - access self.interval only once to avoid
   race conditions.

Fixes #968
2018-01-20 15:27:01 +02:00
..
__init__.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
callbackqueryhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
choseninlineresulthandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
commandhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
conversationhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
dispatcher.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
filters.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
handler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
inlinequeryhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
jobqueue.py jobqueue: Thread safety fixes (#977) 2018-01-20 15:27:01 +02:00
messagehandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
messagequeue.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
precheckoutqueryhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
regexhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
shippingqueryhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
stringcommandhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
stringregexhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
typehandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
updater.py Updater: Issue INFO log upon received signal (#951) 2018-01-09 17:54:07 +02:00