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 ncoghlan
Recipients Arfrever, Tyler.Crompton, ethan.furman, ncoghlan
Date 2012年06月28日.16:02:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340899332.63.0.332558967214.issue15209@psf.upfronthosting.co.za>
In-reply-to
Content
Correction, your try block is overbroad and will suppress errors in the getch implementation. This is better:
 try:
 _getch = windows_module.getch
 except NameError:
 _ getch = fallback_module.getch
 _getch()
So I'm sticking with my perspective that wanting to do this is a sign of something else being wrong with the exception handling setup.
History
Date User Action Args
2012年06月28日 16:02:12ncoghlansetrecipients: + ncoghlan, Arfrever, ethan.furman, Tyler.Crompton
2012年06月28日 16:02:12ncoghlansetmessageid: <1340899332.63.0.332558967214.issue15209@psf.upfronthosting.co.za>
2012年06月28日 16:02:12ncoghlanlinkissue15209 messages
2012年06月28日 16:02:11ncoghlancreate

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