Issue 310 (Broken attribute writes with exception)

Addresses #310.  Also stops warning messages of the fom: `RuntimeWarning: tp_compare didn't return -1 or -2 for exception`.