Using get_nowait for python priority q