view Python/getversion.c @ 87674:efcdf2a70f2a 3.3

Undo supposed fix for Issue #15798 until I understand why this is causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4).
author Gregory P. Smith <greg@krypto.org>
date Sun, 01 Dec 2013 00:12:24 -0800
parents 9f2fbee420da
children
line wrap: on
line source


/* 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;
}