Hi Eric, On Sat, May 28, 2005 at 12:25:07AM +0200, [EMAIL PROTECTED] wrote: > - v_int1 = receive(Unsigned, arg=0) > - v_int2 = receive(Unsigned, arg=1) > + v_int1 = _receive_may_cast(s_int1, Unsigned, 0) > + v_int2 = _receive_may_cast(s_int2, Unsigned, 1)
As you just added casts between signed and unsigned in convert_from_to(), the _receive_may_cast() helper you define and use in this check-in should not be necessary -- indeed, the purpose of the original receive() is precisely to detect a mismatch between the actual and the requested type of the argument and generate a conversion if necessary, by calling convert_from_to(). Armin _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
