• Kirill Smelkov's avatar
    context: Switch done channel from chan() to -> chan(dtype='C.structZ') · 149ae661
    Kirill Smelkov authored
    C.structZ is empty structure and chan[C.structZ] can be used in
    pyx/nogil world. This way context tree initially created from Python can
    be extended in pyx/nogil and e.g. root context can be canceled from
    Python, which will correctly transfer the cancelation signal to pyx/nogil
    world too.
    149ae661
context.py 10.6 KB