Staging
v0.8.1
Revision e2c1657dff86decf1e232b66e766d2e51381109c authored by Miss Islington (bot) on 05 September 2018, 14:45:08 UTC, committed by Victor Stinner on 05 September 2018, 14:45:08 UTC
distutils.spawn.find_executable() now falls back on os.defpath if the
PATH environment variable is not set.
(cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent 635461f
Raw File
getversion.c

/* Return the full version string. */

#include "Python.h"

#include "patchlevel.h"

const char *
Py_GetVersion(void)
{
	static char version[250];
	PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s",
		      PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
	return version;
}
back to top