Improve some debugging information to find the weird data problem.
Turns out list.pop() removes the *last* item, not the first one. Oops. It all works great for queues of only one item... :)
Showing
Please register or sign in to comment
Turns out list.pop() removes the *last* item, not the first one. Oops. It all works great for queues of only one item... :)