Handling KeyboardInterrupt in context manager __enter__ method

后端 未结 0 902
盖世英雄少女心
盖世英雄少女心 2020-12-13 03:37

I\'m writing code that I want to be usable in interactive shell, like IPython, that means that the code needs to be able to handle a completely asynchronous, and unexpected,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题