Abstract_th: Take into account that, in Python 3, the module 'Queue' has been rename 'queue'

Signed-off-by: Jerome Flesch <jflesch@gmail.com>