Staging
v0.5.1
https://github.com/python/cpython
Revision b5ea5e57f5dd23e1db695dda8bf3f6142ed9074f authored by Miss Islington (bot) on 15 November 2018, 09:25:34 UTC, committed by GitHub on 15 November 2018, 09:25:34 UTC

"single" needs to be decrefed if PyList_Append() fails.
(cherry picked from commit 4c596d54aa6a55e9d2a3db78891e656ebbfb63c8)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
1 parent b6b56b4
Raw File
Tip revision: b5ea5e57f5dd23e1db695dda8bf3f6142ed9074f authored by Miss Islington (bot) on 15 November 2018, 09:25:34 UTC
Fix a possible reference leak in _socket.getaddrinfo(). (GH-10543)
Tip revision: b5ea5e5
getcopyright.c
/* Return the copyright string.  This is updated manually. */

#include "Python.h"

static const char cprt[] =
"\
Copyright (c) 2001-2018 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