[#8376] paste upgrade for proper ErrorMiddleware handling on py3
2 files changed