core Py3k
Py3k middleware, utils