The IPython Pdb class inherits from the standard Pdb class ("from pdb import Pdb as OldPdb", followed later by "class Pdb(OldPdb):"). Fernando's fix overrides the checkline() method, whereas Minjae's original solution modified the standard Pdb.checkline() to tolerate the way IPython does things.
#26: Mike, try _adding_ the checkline() method in IPython/ Debugger. py. Clicking the IPython/Debugger.py link in bazaar. launchpad. net/~ipython- dev/ipython/ 0.10.1/ revision/ 1214
http://
will display added lines in dark green.
The IPython Pdb class inherits from the standard Pdb class ("from pdb import Pdb as OldPdb", followed later by "class Pdb(OldPdb):"). Fernando's fix overrides the checkline() method, whereas Minjae's original solution modified the standard Pdb.checkline() to tolerate the way IPython does things.