experimental pypy compatibility (tested with PyPy 2.2.1)