Skip to content

Conversation

@xingnix
Copy link

@xingnix xingnix commented Aug 1, 2023

PR Summary

When debugging with elpy, there is "no _runscript error" with new version of Python where Python's debug module pdb removed _runscript method from object created by pdb.Pdb().
The changed codes use pdb.Pdb().run when there is no _runscript to do debuging.

PR checklist

Please make sure that the following things have been addressed (and check the relevant checkboxes):

  • Commits respect our guidelines
  • Tests are passing properly (see here on how to run Elpy's tests)

@xingnix xingnix changed the title fix the error when pdb.Pdb() has .run instead of ._runscript method fix the error in debugging when pdb.Pdb() has .run instead of ._runscript method Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant