Re: About MAKE_FUNCTION opcode in Python 3

2011-09-21 Thread Arnaud Delobelle
On 21 September 2011 04:09, Terry Reedy wrote: > I agree that doc should be updated for 3.x. Please suggest a new working if > you can, as well as copying the source snippet above. Add me terry.reedy as > nosy. Done: http://bugs.python.org/issue13026 -- Arnaud -- http://mail.python.org/mailma

Re: About MAKE_FUNCTION opcode in Python 3

2011-09-20 Thread Terry Reedy
On 9/20/2011 5:56 PM, Eric Snow wrote: On Tue, Sep 20, 2011 at 1:59 PM, Arnaud Delobelle wrote: Since Python 3.0 we have keyword only arguments in functions (see PEP 3102). Looking at the documentation for the dis module (where opcodes are documented), I see the following for MAKE_FUNCTION [1]

Re: About MAKE_FUNCTION opcode in Python 3

2011-09-20 Thread Eric Snow
On Tue, Sep 20, 2011 at 1:59 PM, Arnaud Delobelle wrote: > Since Python 3.0 we have keyword only arguments in functions (see PEP > 3102).  Looking at the documentation for the dis module (where opcodes > are documented), I see the following for MAKE_FUNCTION [1] > > """ > MAKE_FUNCTION(argc) > Pus

About MAKE_FUNCTION opcode in Python 3

2011-09-20 Thread Arnaud Delobelle
Since Python 3.0 we have keyword only arguments in functions (see PEP 3102). Looking at the documentation for the dis module (where opcodes are documented), I see the following for MAKE_FUNCTION [1] """ MAKE_FUNCTION(argc) Pushes a new function object on the stack. TOS is the code associated with