summaryrefslogtreecommitdiffstats
path: root/Include/pystate.h
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-06-02 22:43:51 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-06-02 22:43:51 (GMT)
commitaab3c4a2110c3184ac0e9fc843fb1f3e07fbaf53 (patch)
tree25366f646da729ac7c4f351f5cbacc763b866ac6 /Include/pystate.h
parent231d90609b026dc709efd16d5bda610fbb12ebad (diff)
downloadcpython-aab3c4a2110c3184ac0e9fc843fb1f3e07fbaf53.zip
cpython-aab3c4a2110c3184ac0e9fc843fb1f3e07fbaf53.tar.gz
cpython-aab3c4a2110c3184ac0e9fc843fb1f3e07fbaf53.tar.bz2
Issue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully
Diffstat (limited to 'Include/pystate.h')
-rw-r--r--Include/pystate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index 2ee81df..a2fd803 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -135,6 +135,7 @@ typedef struct _ts {
void *on_delete_data;
PyObject *coroutine_wrapper;
+ int in_coroutine_wrapper;
/* XXX signal handlers should also be here */