Made the "except" syntax py3 friendly.

Note that this makes the minimum supported version be 2.6