kdeldycke/dotfiles

.pdbrc not working for python3

rksys opened this issue · 2 comments

rksys commented

In python3, the execfile is deprecated. where I start python3 -m pdb [filename], it shows that:

*** NameError: name 'execfile' is not defined

rksys commented

I managed to fix it by using exec, and it worked on my macOS. And I created a pull request, hope it would do some help, cheers :-)

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.