Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Fix calling pdb.pm() in a console #5204

Merged
merged 1 commit into from
Sep 12, 2017
Merged

Conversation

impact27
Copy link
Contributor

@impact27 impact27 commented Sep 11, 2017

Fixes #5200

@impact27 impact27 changed the title Fices #5200 Fixes #5200 Sep 11, 2017
@impact27
Copy link
Contributor Author

By the way, why can't we use pdb to debug a file named "sitecustomize.py"?

@rlaverde
Copy link
Member

By the way, why can't we use pdb to debug a file named "sitecustomize.py"?

To avoid this issue #4680

@dalthviz
Copy link
Member

Hi @impact27 , as @rlaverde points, there was an issue about that: while debugging, the file sitecustomize.py of Spyder was appearing in the debugging session. Also, thanks for pointing the issue and fixing it, awesome! 👍

@ccordoba12
Copy link
Member

By the way, why can't we use pdb to debug a file named "sitecustomize.py"?

sitecustomize has a special meaning in Python because it's used to add or modify code before an interpreter is started.

@ccordoba12 ccordoba12 changed the title Fixes #5200 PR: Fix calling pdb.pm() in a console Sep 12, 2017
@ccordoba12 ccordoba12 merged commit 4147bcd into spyder-ide:3.x Sep 12, 2017
ccordoba12 added a commit that referenced this pull request Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants