commit | 5c4de2863b217338deb9a0fcd20b202b8647b366 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Wed Sep 07 11:16:41 2016 -0700 |
committer | Brett Cannon <brett@python.org> | Wed Sep 07 11:16:41 2016 -0700 |
tree | bba5ca1d16f518125a5d2bfb4fe32a362f5527d5 | |
parent | a9296e7f3be4d6c22271b25c86467ff867c63bbb [diff] [blame] |
Add the co_extra field and accompanying APIs to code objects. This completes PEP 523.
diff --git a/Python/pystate.c b/Python/pystate.c index 2ab5d5d..959354d 100644 --- a/Python/pystate.c +++ b/Python/pystate.c
@@ -227,6 +227,7 @@ tstate->coroutine_wrapper = NULL; tstate->in_coroutine_wrapper = 0; + tstate->co_extra_user_count = 0; if (init) _PyThreadState_Init(tstate);