Re: The RAISE_VARARGS opcode in Python 3

2011-08-27 Thread Arnaud Delobelle
On 27 August 2011 07:49, Peter Otten <__pete...@web.de> wrote: > Arnaud Delobelle wrote: > >> Here is an extract from the dis module doc [1] >> >> """ >> RAISE_VARARGS(argc) >> Raises an exception. argc indicates the number of parameters to the >> raise statement, ranging from 0 to 3. The handler w

Re: The RAISE_VARARGS opcode in Python 3

2011-08-26 Thread Peter Otten
Arnaud Delobelle wrote: > Here is an extract from the dis module doc [1] > > """ > RAISE_VARARGS(argc) > Raises an exception. argc indicates the number of parameters to the > raise statement, ranging from 0 to 3. The handler will find the > traceback as TOS2, the parameter as TOS1, and the except

The RAISE_VARARGS opcode in Python 3

2011-08-26 Thread Arnaud Delobelle
Hi all, Here is an extract from the dis module doc [1] """ RAISE_VARARGS(argc) Raises an exception. argc indicates the number of parameters to the raise statement, ranging from 0 to 3. The handler will find the traceback as TOS2, the parameter as TOS1, and the exception as TOS. """ OTOH, looking