Staging
v0.5.1
https://github.com/python/cpython
Revision ab85ff3d1a35011d09fc2e6a25a02d65f798bde4 authored by Antoine Pitrou on 23 July 2011, 20:03:45 UTC, committed by Antoine Pitrou on 23 July 2011, 20:03:45 UTC
module: the piped streams can now be properly read from or written to.

(this was broken due to the 2.x to 3.x transition; communicate() support
is still sketchy)
1 parent e96ec68
Raw File
Tip revision: ab85ff3d1a35011d09fc2e6a25a02d65f798bde4 authored by Antoine Pitrou on 23 July 2011, 20:03:45 UTC
Issue #12591: Improve support of "universal newlines" in the subprocess
Tip revision: ab85ff3
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