Author jiwon
Recipients
Date 2006-09-13.21:16:24
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=595483

The codeobject has a kwonlyargcount meaning the number of
keyword only arguments. Thus, the api for creating new code
object is changed: PyCode_New now takes kwonlyargcount.

So, the signature changes from this
PyCode_New(argcount, nlocals, stacksize, ...)

to following.
PyCode_New(argcount, kwonlyargcount, nlocals, stacksize, ...)

From python, you can access this with name
"co_kwonlyargcount" such as, co.co_kwonlyargcount just like
you access argcount with co.co_argcount.
History
Date User Action Args
2007-08-23 15:54:26adminlinkissue1549670 messages
2007-08-23 15:54:26admincreate