Staging
v0.8.1
https://github.com/python/cpython
Revision 4327705cfab3eb09073ec828570bbd8f789e1611 authored by Daniel Hahler on 15 February 2019, 20:52:53 UTC, committed by Miss Islington (bot) on 15 February 2019, 20:52:53 UTC


Previously, `debug print(` would cause the interpreter to exit on a SyntaxError whereas `print(` would properly display the error and return to the pdb prompt.

This patch fixes this by pre-compiling the code before passing it to `Pdb.run`.


https://bugs.python.org/issue35931
1 parent 9abb725
History
Tip revision: 4327705cfab3eb09073ec828570bbd8f789e1611 authored by Daniel Hahler on 15 February 2019, 20:52:53 UTC
bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782)
Tip revision: 4327705
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 7.4 KB
README.rst -rw-r--r-- 4.3 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.2 KB
conf.py -rw-r--r-- 6.6 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 51.4 KB
license.rst -rw-r--r-- 43.4 KB
make.bat -rw-r--r-- 5.5 KB

README.rst

back to top