Staging
v0.5.1
https://github.com/python/cpython
Revision 9c19bc62478e1cd732623abfdf701239d2f860ce authored by Brett Cannon on 05 May 2008, 16:57:38 UTC, committed by Brett Cannon on 05 May 2008, 16:57:38 UTC
showwarning API. Turns out 'inspect' uses 'operator' which is an extension
module. That's a problem when it has not been built yet by setup.py.
1 parent 8a232cc
Raw File
Tip revision: 9c19bc62478e1cd732623abfdf701239d2f860ce authored by Brett Cannon on 05 May 2008, 16:57:38 UTC
Remove the use of 'inspect' from 'warnings' for detected deprecated use of the
Tip revision: 9c19bc6
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