Staging
v0.8.1
v0.8.1
Revision d254ca8813986ac72f39fdac90fdf8f63904c28e authored by Martin v. Löwis on 02 March 2008, 20:32:57 UTC, committed by Martin v. Löwis on 02 March 2008, 20:32:57 UTC
Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code.
1 parent 80bdb48
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;
}
Computing file changes ...