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-22.05:56:22
SpamBayes Score 0.0006560428
Marked as misclassified No
Message-id <1269237388.2.0.966598491483.issue7245@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching a test for Ctrl-C behavior on Linux (the patch itself works on Windows too, but I am not sure how to send Ctrl-C on windows programatically and subprocess does not have this functionality either).

The test_pdb2.py module is generic and can be extended to test other functionality. But, as discussed earlier, it cannot be easily (if at all) integrated into existing test_pdb.py.

Note that the test module will NOT work with existing pdb (as it doesnot have expected Ctrl-C) behavior, but on can specify alternative pdb location from command line:

  env DEBUG_PDB=./pdb.py ./test_pdb2.py
History
Date User Action Args
2010-03-22 05:56:28isandlersetrecipients: + isandler, gregory.p.smith, draghuram, r.david.murray
2010-03-22 05:56:28isandlersetmessageid: <1269237388.2.0.966598491483.issue7245@psf.upfronthosting.co.za>
2010-03-22 05:56:26isandlerlinkissue7245 messages
2010-03-22 05:56:25isandlercreate