exception fixes for py2.5<->3.2 compat
exception fixes for py2.5<->3.2 compat

nodish/pexpect,crdoconnor/pexpect,Wakeupbuddy/pexpect,Depado/pexpect,dongguangming/pexpect,Wakeupbuddy/pexpect,blink1073/pexpect,Wakeupbuddy/pexpect,Wakeupbuddy/pexpect,nodish/pexpect,crdoconnor/pexpect,quatanium/pexpect,blink1073/pexpect,bangi123/pexpect,blink1073/pexpect,dongguangming/pexpect,Depado/pexpect,Depado/pexpect,crdoconnor/pexpect,dongguangming/pexpect,quatanium/pexpect,bangi123/pexpect,Depado/pexpect,bangi123/pexpect,bangi123/pexpect,dongguangming/pexpect,nodish/pexpect,quatanium/pexpect