Staging
v0.5.1
https://github.com/python/cpython
Revision 966036af0e5e1dff8fedd423d90a246067537345 authored by Ned Deily on 17 June 2020, 07:18:55 UTC, committed by Ned Deily on 17 June 2020, 07:18:55 UTC
Adds a simple check for whether or not the package is being installed in the GUI or using installer on the command line. This addresses an issue where CLI-based software management tools (such as Munki) unexpectedly open Finder windows into a GUI session during installation runs.
1 parent 9f4eec0
Raw File
Tip revision: 966036af0e5e1dff8fedd423d90a246067537345 authored by Ned Deily on 17 June 2020, 07:18:55 UTC
bpo-39580: add check for CLI installation on macOS
Tip revision: 966036a
getcopyright.c
/* Return the copyright string.  This is updated manually. */

#include "Python.h"

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