Use except-as instead of comma for py3 compatibility

This should fix #12