[IPython-dev] making pdoc, pdef, and pinfo more generally useful (Was Re: Patches to use pydb instead of pdb for debugging)

R. Bernstein rocky at panix.com
Fri Oct 13 12:38:22 EDT 2006


A revised patch follows. I apologize for the problem and inconvenience
of the previous patch.

Many thanks.

Ville M. Vainio writes:
 ...
 > 1) iplib.py had a mistake I think - it doesn't account for pydb not
 > existing properly:
 > 
 >        have_pydb = False
 >         if sys.version[:3] >= '2.5':
 >             try:
 >                 from pydb import pm
 >                 have_pydb = True
 >             except ImportError:
 >                 pass
 >         if not have_pydb:
 >             from pydb import pm   <======
 >         pm()
 > 
 > didn't you mean to say "from pdb import pm"?

You are absolutely correct. 

 > 
 > 2) Debugger.py patch was invalid for some reason (for eclipse's "apply
 > patch" tool). Was it done properly against the current svn? Please do
 > svn up again, resolve conflicts and send a new patch.

Should be included below.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pydb-take2.patch
Type: application/octet-stream
Size: 9452 bytes
Desc: Remaining Debugger and iplib.py patches.
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20061013/a9814409/attachment.obj>


More information about the IPython-dev mailing list