[pypy-dev] Re: Release something?
holger krekel
hpk at trillke.net
Thu Feb 27 17:33:23 CET 2003
[Michael Hudson Thu, Feb 27, 2003 at 03:59:48PM +0000]
> holger krekel <hpk at trillke.net> writes:
>
> > Also can't we make the trivial's objspace "wrap" and "unwrap"
> > actually do something like
> >
> > def wrap(self, value):
> > return Box(value)
> > def unwrap(self, w_value):
> > return w_value.value
> >
> > with
> >
> > class Box:
> > def __init__(self, value):
> > self.value = value
> >
> > ?
>
> I think that should be "slightlylesstrivialobjspace.py" or something.
>
> > I just tried but got errors which i am investigating.
> > They may indicate incorrect wrap/unwrap arithmetic.
>
> Quite likely there's some of that. You also have to thoroughly
> rewrite trivial.py.
jep, just fiddled with it. seems more involved than expected.
so the trivial space remains trivial for the time being.
holger
More information about the Pypy-dev
mailing list