Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
Thanks for the report. This seems related to issue21161 and issue26072 that contain explanation about scope where exec is called with the code and patches that fix this issue. As a possible workaround in the issues you can use "interact" command to get to a REPL where you can evaluate and exit back to pdb. ---------- nosy: +xdegaye, xtreak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35871> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com