Message164269
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. |
|
Date |
User |
Action |
Args |
2012-06-28 16:02:12 | ncoghlan | set | recipients:
+ ncoghlan, Arfrever, ethan.furman, Tyler.Crompton |
2012-06-28 16:02:12 | ncoghlan | set | messageid: <1340899332.63.0.332558967214.issue15209@psf.upfronthosting.co.za> |
2012-06-28 16:02:12 | ncoghlan | link | issue15209 messages |
2012-06-28 16:02:11 | ncoghlan | create | |
|