0000826: reading from the python console for using pdb -- code cleanup