Python 3 support

No, because `request.pop(uri)` invalidates iterator (`RuntimeError` raised).