[pypy-dev] How to get transparent proxy working.

Armin Rigo arigo at tunes.org
Fri Jul 4 13:23:42 CEST 2014


Hi Yichao,

On 4 July 2014 02:46, Yichao Yu <yyc1992 at gmail.com> wrote:
> I found the transparent proxy in pypy recently.

As you have noticed, this is an old feature not supported any more
since a long time (and mostly untested).  It was an experimental
feature that turned out not to be useful in practice.  Just using
regular Python, you can mostly achieve the same effects, with the
exception (mostly) of pretending to have an object of some built-in
type for built-in function calls.

I'm not sure what kind of objects can be wrapped right now...
User-defined instances work, but as you found out, most special
methods on them don't work.  If you want to fix it, you're welcome.


A bientôt,

Armin.


More information about the pypy-dev mailing list