Extract Python version information from sys.version_info