Stefan Behnel wrote:
> In my above quote, "evaluated" does
> not refer to user code but to type conversions that Cython injects at the C 
> level.

Indeed, and there's no equivalent to that in the Python
case, so Python gives no guidance as to the semantics.

The only case where it could make a difference to the
result is if the conversion itself has a side effect,
which could happen if, e.g., an object has a user
defined __str__ method (although it would be a very
odd thing for a __str__ method to do).

In that case, the user will probably expect the side
effect to only happen once, although I'd be reluctant
to promise that.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to