This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | isandler |
|---|---|
| Recipients | draghuram, gregory.p.smith, isandler, r.david.murray |
| Date | 2010年03月06日.19:27:41 |
| SpamBayes Score | 3.1480485e-11 |
| Marked as misclassified | No |
| Message-id | <00163616467b44cf79048126d3b4@google.com> |
| In-reply-to |
| Content | |
|---|---|
new version of the patch is uploaded to bugs.python.org http://codereview.appspot.com/216067/diff/2001/2002 File Lib/pdb.py (right): http://codereview.appspot.com/216067/diff/2001/2002#newcode63 Lib/pdb.py:63: def sigint_handler(self, signum, frame): On 2010年02月28日 20:12:00, gregory.p.smith wrote: > Please move this below the __init__ definition. It makes classes odd to read > when __init__ isn't the first method defined when people are looking for the > constructor to see how to use it. Done. http://codereview.appspot.com/216067/diff/2001/2002#newcode64 Lib/pdb.py:64: if self.allow_kbdint: On 2010年02月28日 20:12:00, gregory.p.smith wrote: > Initialize self.allow_kdbint in __init__ so that a SIGINT coming in before > _cmdloop has run doesn't cause an AttributeError. Done. http://codereview.appspot.com/216067/diff/2001/2002#newcode215 Lib/pdb.py:215: # keyboard interrupts allow for an easy way to interrupt On 2010年02月28日 20:12:00, gregory.p.smith wrote: > "to cancel the current command" I changed the wording a bit, should be ok now. http://codereview.appspot.com/216067/diff/2001/2002#newcode356 Lib/pdb.py:356: #it appears that that when pdb is reading input from a pipe On 2010年02月28日 20:12:00, gregory.p.smith wrote: > Space after the # please. this code > is? particular > interrupted command from the list of commands to run at the current breakpoint > but I may be misreading things as I haven't spent much time in pdb.py. Done. I've also added a comment to explain what's going on. http://codereview.appspot.com/216067/show |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010年03月06日 19:27:44 | isandler | set | recipients: + isandler, draghuram, r.david.murray |
| 2010年03月06日 19:27:43 | isandler | link | issue7245 messages |
| 2010年03月06日 19:27:41 | isandler | create | |