python: support newly added API cs_support() & cs_version_ex()