Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Python3 脚本不时退出而没有任何回溯。
有人在另一个问题中说这是由调用 sys.exit 引起的,但我不太确定是否是这种情况。
那么如何使 Python3 脚本始终以回溯退出,当然,除非它被信号 9 杀死?
事实证明,当从底层调用某些函数时脚本崩溃了,并且在没有任何引用的情况下崩溃了。.