Karthikeyan Singaravelan added the comment:
I think this is same as https://bugs.python.org/issue26072#msg277578 and is
reproducible with below sample script without depending on turbogears. The
attached patch in the issue fixes this. Try using interact command from pdb as
a workaround.
imp
New submission from castix :
Related to https://bugs.python.org/issue27316
This code works from the repl:
Python 3.7.4 (default, Oct 4 2019, 06:57:26)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pdb; pdb.set_trace()
--Return--
> (1)()