Message164268
If you don't want the exception context set *at all*, just use a pass statement to get out of the exception before trying the fallback.
try:
return windows_module.getch()
except NameError:
pass # No exception chaining
fallback_module.getch() |
|
Date |
User |
Action |
Args |
2012-06-28 15:59:35 | ncoghlan | set | recipients:
+ ncoghlan, Arfrever, ethan.furman, Tyler.Crompton |
2012-06-28 15:59:35 | ncoghlan | set | messageid: <1340899175.26.0.0278419216435.issue15209@psf.upfronthosting.co.za> |
2012-06-28 15:59:34 | ncoghlan | link | issue15209 messages |
2012-06-28 15:59:34 | ncoghlan | create | |
|