…GH-11782) 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 (cherry picked from commit 4327705) Co-authored-by: Daniel Hahler <github@thequod.de>
|
@blueyed: Status check is done, and it's a success ✅ . |
|
@blueyed: Status check is done, and it's a success ✅ . |
|
This breaks the API (you cannot pass in a |
Previously,
debug print(would cause the interpreter to exit on a SyntaxError whereasprint(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
(cherry picked from commit 4327705)
Co-authored-by: Daniel Hahler github@thequod.de
https://bugs.python.org/issue35931