kev levrone <kevlevro...@gmail.com> added the comment:

def enable_ki_protection(func):
    func._trio_keyboard_interrupt_protection_enabled = True
    return func

----------
nosy: +kevlevrone
Added file: https://bugs.python.org/file48418/122.pdf

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue12857>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to