Lines Matching defs:version
7 * Mark Hammond (original author of Python version)
172 wchar_t version[MAX_VERSION_SIZE]; /* m.n */
190 * The version name can be longer than MAX_VERSION_SIZE, but will be
233 find_existing_python2(int bits, const wchar_t * version)
240 if (bits == ip->bits && _wcsicmp(version, ip->version) == 0) {
277 debug(L"Can't enumerate registry key for version %ls: %ls\n",
283 wcsncpy_s(ip->version, MAX_VERSION_SIZE, ip_version,
285 /* Still treating version as "x.y" rather than sys.winver
289 check = wcsrchr(ip->version, L'-');
402 if (find_existing_python2(ip->bits, ip->version)) {
404 found\n", ip->version, ip->bits);
427 /* note reverse sorting on version */
429 ip2->version, -1, ip1->version, -1);
494 wcscpy_s(ip->version, MAX_VERSION_SIZE, L"venv");
544 n = wcslen(ip->version);
547 * version and thus want an exact match: 3.1 != 3.10. Otherwise, we
556 if ((wcsncmp(ip->version, wanted_ver, n) == 0) &&
632 if (n == 1) { /* just major version specified */
640 debug(L"search for Python version '%ls' found ", wanted_ver);
655 /* Not found a value yet - try by major version.
659 * wants the latest version available, so try Python 3 first, then
668 debug(L"version %ls at '%ls'\n",
669 result->version, result->executable);
1201 Version information should start with the major version,
1202 Optionally followed by a period and a minor version,
1220 while (result && iswdigit(*p)) /* Require a major version */
1248 wchar_t version[MAX_VERSION_SIZE];
1271 /* Allow 50 magic numbers per version from here on */
1285 result = locate_python(mp->version, FALSE);
1331 ip->version);
1449 * is no version specification.
1465 error(RC_BAD_VIRTUAL_PATH, L"Invalid version \
1467 followed by a valid version specifier.\nPlease check the documentation.",
1472 error(RC_NO_PYTHON, L"Requested Python version \
1549 -2 : Launch the latest Python 2.x version\n\
1550 -3 : Launch the latest Python 3.x version\n\
1551 -X.Y : Launch the specified Python version\n", stdout);
1555 -X.Y-32: Launch the specified 32bit Python version\n\
1556 -X-32 : Launch the latest 32bit Python X version\n\
1557 -X.Y-64: Launch the specified 64bit Python version\n\
1558 -X-64 : Launch the latest 64bit Python X version", stdout);
1563 fputws(L"\nIf an exact version is not given, using the latest version can be overridden by", stdout);
1607 wchar_t version[BUFSIZ];
1608 if (wcscmp(ip->version, L"venv") == 0) {
1609 wcscpy_s(version, BUFSIZ, L"(venv)");
1612 swprintf_s(version, BUFSIZ, ver_fmt, ip->version, ip->bits);
1616 fwprintf(stdout, fmt, version, ip->exe_display);
1619 fwprintf(stdout, fmt, version, ip->executable);
1970 if ((argc == 2) && // list version args
1985 error(RC_NO_PYTHON, L"Requested Python version (%ls) not \