Suppress resource warnings / assertion deprecations on Py3k.
Add support for PyPy.