[pypy-dev] do not raise exceptions in __init__

Armin Rigo arigo at tunes.org
Sun Aug 16 13:17:09 CEST 2015


Hi Matti,

On 9 August 2015 at 17:39, Matti Picus <matti.picus at gmail.com> wrote:
> Are you saying that the ovfcheck will only raise an exception if it is
> immediately surrounded with a try: except OverflowError clause, and not
> raise an exception if the clause wraps the product(shape) function call

Sorry, after more digging, I'm wrong: ovfcheck() will always raise
OverflowError, which can be caught some levels up the stack.


A bientôt,

Armin.


More information about the pypy-dev mailing list