look like you are not based on the latest code.

This fails on python 2.8, as _SREPattern is c code, and does not have a class, but type(re.compile("")) works