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

Keep terminal input when triggering code reload during breakpoint #1318

merged 2 commits into from
May 29, 2018


Copy link

@bpicolo bpicolo commented May 29, 2018

Seems to fix #1317

Would add a test but the actual bugfix that depends on this would be a pretty bizarre thing to test, not sure how that might be automated in a practical fashion. A unit test here would be pretty meaningless w/regards to the actual issue. Happy to add any test that seems appropriate though (will fix that now-broken test in a moment)

This is pretty much just how Pyramid/Django both do it, with slight recontextualizing because licensing requirements are somewhat unclear

Copy link

davidism commented May 29, 2018

Please ensure the tests pass in a clean environment with tox -e py36. This appears to be causing issues with connections in for some reason.

Copy link

davidism commented May 29, 2018

Your git config does not appear to match your GitHub profile. If you want those to match up you need to configure your name and email. After that, amend the author information to the existing commit with git commit --amend --author 'Your Name <configured@email>', then force push with git push -f.

@bpicolo bpicolo force-pushed the 1317-fix-terminput-after-pdb-reload branch 2 times, most recently from 464789d to e953901 Compare May 29, 2018 17:18
Copy link
Contributor Author

bpicolo commented May 29, 2018

@davidism Thanks for the feedback here. Fixed on both counts

@davidism davidism force-pushed the 1317-fix-terminput-after-pdb-reload branch from e953901 to 90273ac Compare May 29, 2018 19:55
@davidism davidism force-pushed the 1317-fix-terminput-after-pdb-reload branch from 90273ac to e19a175 Compare May 29, 2018 19:58
@davidism davidism merged commit 9cdcb93 into pallets:master May 29, 2018
Copy link

blueyed commented Apr 27, 2019

This looks similar to what Django has.
I've made an improvement over there:
I'd appreciate feedback, and could also turn it into a PR here if you want it.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

Successfully merging this pull request may close these issues.

Triggering a code reload during a PDB session breaks terminal input
3 participants