Staging
v0.5.1
https://github.com/python/cpython
Revision e266d062e017b122b9741db2bd5fb99742378623 authored by Miss Islington (bot) on 25 August 2019, 06:18:01 UTC, committed by GitHub on 25 August 2019, 06:18:01 UTC

These were caused by keeping around a reference to the Squeezer
instance and calling it's load_font() upon config changes, which
sometimes happened even if the shell window no longer existed.

This change completely removes that mechanism, instead having the
editor window properly update its width attribute, which can then
be used by Squeezer.
(cherry picked from commit d4b4c00b57d24f6ee2cf3a96213406bb09953df3)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
1 parent 21161d7
Raw File
Tip revision: e266d062e017b122b9741db2bd5fb99742378623 authored by Miss Islington (bot) on 25 August 2019, 06:18:01 UTC
bpo-37929: IDLE: avoid Squeezer-related config dialog crashes (GH-15452)
Tip revision: e266d06
getcopyright.c
/* Return the copyright string.  This is updated manually. */

#include "Python.h"

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