Staging
v0.5.1
https://github.com/python/cpython
Revision f0a49708eb1a00eca83dbe26eb47e8506b80225f authored by Amaury Forgeot d'Arc on 01 April 2008, 22:52:48 UTC, committed by Amaury Forgeot d'Arc on 01 April 2008, 22:52:48 UTC
it registers the same codec on each iteration.
Do it only once at load time.
1 parent ce6f6c1
Raw File
Tip revision: f0a49708eb1a00eca83dbe26eb47e8506b80225f authored by Amaury Forgeot d'Arc on 01 April 2008, 22:52:48 UTC
Newly enabled test appears to leak:
Tip revision: f0a4970
getcopyright.c
/* Return the copyright string.  This is updated manually. */

#include "Python.h"

static char cprt[] = 
"\
Copyright (c) 2001-2008 Python Software Foundation.\n\
All Rights Reserved.\n\
\n\
Copyright (c) 2000 BeOpen.com.\n\
All Rights Reserved.\n\
\n\
Copyright (c) 1995-2001 Corporation for National Research Initiatives.\n\
All Rights Reserved.\n\
\n\
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\n\
All Rights Reserved.";

const char *
Py_GetCopyright(void)
{
	return cprt;
}
back to top