Message51029
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. |
|
Date |
User |
Action |
Args |
2007-08-23 15:54:26 | admin | link | issue1549670 messages |
2007-08-23 15:54:26 | admin | create | |
|