消息 [51029]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2007-08-23 15:54:26 | admin | 链接 | issue1549670 messages |
| 2007-08-23 15:54:26 | admin | 创建 | |
|