madscheme/introducing-python

net/thread_dishes.py does not unblock

yanp opened this issue · 0 comments

yanp commented

In net/thread_dishes.py the queue.get() method blocks the program. Consider using queue.get_nowait() and catch queue.Empty exception.