A pure-python implementation of ContainedProxy that works on pypy