Queue

I wonder about the use of an else block here. If you are re-raising the AttributeError in the except block, I can't think of a reason to use the try/except formation.