Lines Matching defs:version
1415 {"major", "Major version number"},
1416 {"minor", "Minor version number"},
1420 {"service_pack_major", "Service Pack major version number"},
1421 {"service_pack_minor", "Service Pack minor version number"},
1424 {"platform_version", "Diagnostic version number"},
1446 Return info about the running version of Windows as a named tuple.
1455 Platform_version is a 3-tuple containing a version number that is
1463 PyObject *version;
1476 version = PyStructSequence_New(&WindowsVersionType);
1477 if (version == NULL)
1480 PyStructSequence_SET_ITEM(version, pos++, PyLong_FromLong(ver.dwMajorVersion));
1481 PyStructSequence_SET_ITEM(version, pos++, PyLong_FromLong(ver.dwMinorVersion));
1482 PyStructSequence_SET_ITEM(version, pos++, PyLong_FromLong(ver.dwBuildNumber));
1483 PyStructSequence_SET_ITEM(version, pos++, PyLong_FromLong(ver.dwPlatformId));
1484 PyStructSequence_SET_ITEM(version, pos++, PyUnicode_FromWideChar(ver.szCSDVersion, -1));
1485 PyStructSequence_SET_ITEM(version, pos++, PyLong_FromLong(ver.wServicePackMajor));
1486 PyStructSequence_SET_ITEM(version, pos++, PyLong_FromLong(ver.wServicePackMinor));
1487 PyStructSequence_SET_ITEM(version, pos++, PyLong_FromLong(ver.wSuiteMask));
1488 PyStructSequence_SET_ITEM(version, pos++, PyLong_FromLong(ver.wProductType));
1495 // We need to read the version info from a system file resource
1496 // to accurately identify the OS version. If we fail for any reason,
1515 PyStructSequence_SET_ITEM(version, pos++, Py_BuildValue("(kkk)",
1522 Py_DECREF(version);
1525 return version;
1972 Return the build time API version of Android as an integer.
2452 hexversion -- version information encoded as a single integer\n\
2460 version -- the version of this interpreter as a string\n\
2461 version_info -- version information as a named tuple\n\
2468 winver -- [Windows only] version number of the Python DLL\n\
2714 res = PyDict_SetItemString(impl_info, "version", version_info);
2757 {"emscripten_version", "Emscripten version (major, minor, micro)"},
2758 {"runtime", "Runtime (Node.JS version, browser user agent)"},
2776 info = "Node.js ".concat(process.version);
2794 PyObject *version = NULL;
2803 version = Py_BuildValue("(iii)",
2805 if (version == NULL) {
2808 PyStructSequence_SET_ITEM(emscripten_info, pos++, version);
2899 SET_SYS_FROM_STRING("version", Py_GetVersion());