This is incompatible with Python 2.6 (it's just a plain tuple there), but I think `sys.version_info[0]` should work across all versions.