Why doesn't Python exit from a raised exception when executed with an absolute path?

后端 未结 4 1268
面向向阳花
面向向阳花 2021-01-11 22:25

SOLVED: Rebooting the machine appears to have removed the issue. I will update if the problem returns.

I\'m having an issue where Python2.6 hangs after

4条回答
  •  梦谈多话
    2021-01-11 23:03

    • please inspect sys.path for non absolute directories.
    • you can always break into it with a debugger, e.g. gdb
    • sometimes I have stuff in PYTHONSTARTUP, which causes the interactive interpreter to do something different...
    • strace can aslo be your friend

提交回复
热议问题