homepage

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 stephbul
Recipients stephbul
Date 2007年10月18日.12:51:55
SpamBayes Score 0.0353672
Marked as misclassified No
Message-id <1192711916.5.0.235687394478.issue1294@psf.upfronthosting.co.za>
In-reply-to
Content
According to me, the Ctrl-C is not managed correctly in cmd.py. Ctrl-C
generates a a KeyboardInterrupt exceptions, and only EOFError is
managed. I propose to manage KeyboardInterrupt on line 130:
 print 'are you sure you want to exit? y/n'
 answer =''
 while (answer != 'y') & (answer != 'n'):
 answer = raw_input()
 if answer == 'y':
 exit(0)
Here is attached my new cmd.py
Hope ti will help.
Files
File name Uploaded
cmd.py stephbul, 2007年10月18日.12:51:56
History
Date User Action Args
2007年10月18日 12:51:56stephbulsetspambayes_score: 0.0353672 -> 0.0353672
recipients: + stephbul
2007年10月18日 12:51:56stephbulsetspambayes_score: 0.0353672 -> 0.0353672
messageid: <1192711916.5.0.235687394478.issue1294@psf.upfronthosting.co.za>
2007年10月18日 12:51:56stephbullinkissue1294 messages
2007年10月18日 12:51:56stephbulcreate

AltStyle によって変換されたページ (->オリジナル) /