Message279402
Pdb.checkline() does a hasattr() check to protect against self.curframe not existing. self.curframe can also be None (if self.forget() or self.reset() was called), but checkline() does not handle this.
The attached patch treats self.curframe == None as equivalent to the attribute being absent.
Background:
http://bugs.python.org/issue9230
https://github.com/ipython/ipython/issues/10028
(Georg, I've nosy-listed you as I saw your name on a couple of similar issues; I hope you don't mind) |
|
Date |
User |
Action |
Args |
2016-10-25 13:12:03 | takluyver | set | recipients:
+ takluyver, georg.brandl |
2016-10-25 13:12:03 | takluyver | set | messageid: <1477401123.41.0.136094342663.issue28528@psf.upfronthosting.co.za> |
2016-10-25 13:12:03 | takluyver | link | issue28528 messages |
2016-10-25 13:12:03 | takluyver | create | |
|