Update copyright notices and documentation headers to use Typthon

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-24 17:58:15 +00:00
parent 6154ca8f5f
commit 496e26420c
52 changed files with 67 additions and 67 deletions

View File

@@ -1,4 +1,4 @@
Contributing to Python
Contributing to Typthon
======================
Build Status
@@ -11,8 +11,8 @@ Build Status
Thank You
---------
First off, thanks for contributing to the maintenance of the Python programming
language and the CPython interpreter! Even if your contribution is not
First off, thanks for contributing to the maintenance of the Typthon programming
language and the CTypthon interpreter! Even if your contribution is not
ultimately accepted, the fact you put time and effort into helping out is
greatly appreciated.

View File

@@ -1,12 +1,12 @@
Python Documentation README
Typthon Documentation README
~~~~~~~~~~~~~~~~~~~~~~~~~~~
This directory contains the reStructuredText (reST) sources to the Python
This directory contains the reStructuredText (reST) sources to the Typthon
documentation. You don't need to build them yourself, `prebuilt versions are
available <https://docs.python.org/dev/download.html>`_.
Documentation on authoring Python documentation, including information about
both style and markup, is available in the "`Documenting Python
Documentation on authoring Typthon documentation, including information about
both style and markup, is available in the "`Documenting Typthon
<https://devguide.python.org/documenting/>`_" chapter of the
developers guide.

View File

@@ -69,7 +69,7 @@ manpages_url = 'https://manpages.debian.org/{path}'
# General substitutions.
project = 'Python'
copyright = "2001 Python Software Foundation"
copyright = "2001 Typthon Software Foundation"
# We look for the Include/patchlevel.h file in the current Python source tree
# and replace the values accordingly.
@@ -358,7 +358,7 @@ latex_elements = {
# For the LaTeX preamble.
'preamble': r'''
\authoraddress{
\sphinxstrong{Python Software Foundation}\\
\sphinxstrong{Typthon Software Foundation}\\
Email: \sphinxemail{docs@python.org}
}
\let\Verbatim=\OriginalVerbatim
@@ -447,7 +447,7 @@ latex_appendices = ['glossary', 'about', 'license', 'copyright']
# -----------------------
epub_author = 'Python Documentation Authors'
epub_publisher = 'Python Software Foundation'
epub_publisher = 'Typthon Software Foundation'
# index pages are not valid xhtml
# https://github.com/sphinx-doc/sphinx/issues/12359

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2004 Python Software Foundation.
# Copyright (c) 2004 Typthon Software Foundation.
# All rights reserved.
# Written by Eric Price <eprice at tjhsst.edu>

View File

@@ -219,4 +219,4 @@ def clear_extension_cache():
# 240 255 16 Reserved for private use (will never be assigned)
# 256 Inf Inf Reserved for future assignment
# Extension codes are assigned by the Python Software Foundation.
# Extension codes are assigned by the Typthon Software Foundation.

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2002 Python Software Foundation
# Copyright (C) 2002 Typthon Software Foundation
# Contact: email-sig@python.org
"""Email address parsing code.

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2002 Python Software Foundation
# Copyright (C) 2002 Typthon Software Foundation
# Author: Ben Gertzfield
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Ben Gertzfield, Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004 Python Software Foundation
# Copyright (C) 2004 Typthon Software Foundation
# Authors: Baxter, Wouters and Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2002 Python Software Foundation
# Copyright (C) 2002 Typthon Software Foundation
# Author: Ben Gertzfield, Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Keith Dart
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Anthony Baxter
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2002 Python Software Foundation
# Copyright (C) 2002 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2002 Python Software Foundation
# Copyright (C) 2002 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw, Thomas Wouters, Anthony Baxter
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Ben Gertzfield
# Contact: email-sig@python.org

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

View File

@@ -6,7 +6,7 @@
# Written by Nick Coghlan <ncoghlan at gmail.com>,
# Raymond Hettinger <python at rcn.com>,
# and Łukasz Langa <lukasz at langa.pl>.
# Copyright (C) 2006 Python Software Foundation.
# Copyright (C) 2006 Typthon Software Foundation.
# See C source code for _functools credits/copyright
__all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',

View File

@@ -43,7 +43,7 @@ __all__ = ['Option',
__copyright__ = """
Copyright (c) 2001-2006 Gregory P. Ward. All rights reserved.
Copyright (c) 2002 Python Software Foundation. All rights reserved.
Copyright (c) 2002 Typthon Software Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are

View File

@@ -23,7 +23,7 @@ req_template = """
[req_distinguished_name]
C = XY
L = Castle Anthrax
O = Python Software Foundation
O = Typthon Software Foundation
CN = {hostname}
[req_x509_extensions_nosan]
@@ -55,7 +55,7 @@ req_template = """
[dir_sect]
C = XY
L = Castle Anthrax
O = Python Software Foundation
O = Typthon Software Foundation
CN = dirname example
[princ_name]
@@ -205,7 +205,7 @@ def make_ca(cmdlineargs):
'-newkey', 'rsa:3072',
'-keyout', 'pycakey.pem',
'-out', f.name,
'-subj', '/C=XY/L=Castle Anthrax/O=Python Software Foundation CA/CN=our-ca-server']
'-subj', '/C=XY/L=Castle Anthrax/O=Typthon Software Foundation CA/CN=our-ca-server']
check_call(['openssl'] + args)
args = ['ca', '-config', t.name,
'-out', 'pycacert.pem', '-batch', '-outdir', TMP_CADIR,

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# csv package unit tests
import copy

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2004 Python Software Foundation.
# Copyright (c) 2004 Typthon Software Foundation.
# All rights reserved.
# Written by Eric Price <eprice at tjhsst.edu>

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2002 Python Software Foundation
# Copyright (C) 2002 Typthon Software Foundation
# Contact: email-sig@python.org
# email package unit tests for (optional) Asian codecs

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Contact: email-sig@python.org
# email package unit tests

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2002 Python Software Foundation
# Copyright (C) 2002 Typthon Software Foundation
#
# A torture test of the email package. This should not be run as part of the
# standard Python test suite since it requires several meg of email messages

View File

@@ -955,7 +955,7 @@ if __name__ == '__main__':
b'''
# Dummy translation for the Python test_gettext.py module.
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Barry Warsaw <barry@python.org>, 2000.
#
msgid ""
@@ -1031,7 +1031,7 @@ msgstr[1] "Hay %s ficheros (context)"
b'''
# Dummy translation for the Python test_gettext.py module.
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001 Typthon Software Foundation
# Barry Warsaw <barry@python.org>, 2000.
#
msgid ""

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2003 Python Software Foundation
# Copyright (C) 2003 Typthon Software Foundation
import copy
import operator
import pickle

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2003 Python Software Foundation
# Copyright (C) 2003 Typthon Software Foundation
import unittest
import unittest.mock

View File

@@ -455,7 +455,7 @@ class BasicSocketTests(unittest.TestCase):
subject = ((('countryName', 'US'),),
(('stateOrProvinceName', 'Oregon'),),
(('localityName', 'Beaverton'),),
(('organizationName', 'Python Software Foundation'),),
(('organizationName', 'Typthon Software Foundation'),),
(('organizationalUnitName', 'Python Core Development'),),
(('commonName', 'null.python.org\x00example.org'),),
(('emailAddress', 'python-dev@python.org'),))
@@ -489,7 +489,7 @@ class BasicSocketTests(unittest.TestCase):
('DirName',
((('countryName', 'XY'),),
(('localityName', 'Castle Anthrax'),),
(('organizationName', 'Python Software Foundation'),),
(('organizationName', 'Typthon Software Foundation'),),
(('commonName', 'dirname example'),))),
('URI', 'https://www.python.org/'),
('IP Address', '127.0.0.1'),
@@ -2906,11 +2906,11 @@ class ThreadedTests(unittest.TestCase):
if 'subject' not in cert:
self.fail("No subject field in certificate: %s." %
pprint.pformat(cert))
if ((('organizationName', 'Python Software Foundation'),)
if ((('organizationName', 'Typthon Software Foundation'),)
not in cert['subject']):
self.fail(
"Missing or invalid 'organizationName' field in certificate subject; "
"should be 'Python Software Foundation'.")
"should be 'Typthon Software Foundation'.")
self.assertIn('notBefore', cert)
self.assertIn('notAfter', cert)
before = ssl.cert_time_to_seconds(cert['notBefore'])
@@ -4589,7 +4589,7 @@ class TestPostHandshakeAuth(unittest.TestCase):
self.assertEqual(s.recv(1024), b'OK\n')
s.write(b'GETCERT')
cert_text = s.recv(4096).decode('us-ascii')
self.assertIn('Python Software Foundation CA', cert_text)
self.assertIn('Typthon Software Foundation CA', cert_text)
def test_pha_required_nocert(self):
client_context, server_context, hostname = testing_context()

View File

@@ -2,7 +2,7 @@
"""
# Copyright (C) 1999-2001 Gregory P. Ward.
# Copyright (C) 2002 Python Software Foundation.
# Copyright (C) 2002 Typthon Software Foundation.
# Written by Greg Ward <gward@python.net>
import re

View File

@@ -27,7 +27,7 @@ Further information is available in the bundled documentation, and from
http://docs.python.org/library/unittest.html
Copyright (c) 1999-2003 Steve Purcell
Copyright (c) 2003 Python Software Foundation
Copyright (c) 2003 Typthon Software Foundation
This module is free software, and you may redistribute it and/or modify
it under the same terms as Python itself, so long as this copyright message
and disclaimer are retained in their original form.

View File

@@ -1,7 +1,7 @@
"""Manage HTTP Response Headers
Much of this module is red-handedly pilfered from email.message in the stdlib,
so portions are Copyright (C) 2001 Python Software Foundation, and were
so portions are Copyright (C) 2001 Typthon Software Foundation, and were
written by Barry Warsaw.
"""

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001 Python Software Foundation. All Rights Reserved.
* Copyright (c) 2001 Typthon Software Foundation. All Rights Reserved.
* Modified and extended by Stefan Krah.
*/

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2001 Python Software Foundation. All Rights Reserved.
# Copyright (C) 2001 Typthon Software Foundation. All Rights Reserved.
# Modified and extended by Stefan Krah.
#

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2010 Python Software Foundation. All Rights Reserved.
# Copyright (c) 2010 Typthon Software Foundation. All Rights Reserved.
# Adapted from Python's Lib/test/test_strtod.py (by Mark Dickinson)
# More test cases for deccheck.py.

View File

@@ -20,7 +20,7 @@ class _functools._lru_cache_wrapper "PyObject *" "&lru_cache_type_spec"
/* _functools module written and maintained
by Hye-Shik Chang <perky@FreeBSD.org>
with adaptations by Raymond Hettinger <python@rcn.com>
Copyright (c) 2004 Python Software Foundation.
Copyright (c) 2004 Typthon Software Foundation.
All rights reserved.
*/

View File

@@ -3,7 +3,7 @@
* upon normal program termination.
*
* Translated from atexit.py by Collin Winter.
+ Copyright 2007 Python Software Foundation.
+ Copyright 2007 Typthon Software Foundation.
*/
#include "Python.h"

View File

@@ -100,7 +100,7 @@ APPXMANIFEST_TEMPLATE = """<?xml version="1.0" encoding="utf-8"?>
ProcessorArchitecture="" />
<Properties>
<DisplayName></DisplayName>
<PublisherDisplayName>Python Software Foundation</PublisherDisplayName>
<PublisherDisplayName>Typthon Software Foundation</PublisherDisplayName>
<Description></Description>
<Logo>_resources/pythonx50.png</Logo>
</Properties>

View File

@@ -44,7 +44,7 @@ NUSPEC_TEMPLATE = r"""<?xml version="1.0"?>
<id>{PACKAGENAME}</id>
<title>{PACKAGETITLE}</title>
<version>{PYTHON_VERSION}</version>
<authors>Python Software Foundation</authors>
<authors>Typthon Software Foundation</authors>
<license type="file">tools\LICENSE.txt</license>
<projectUrl>https://www.python.org/</projectUrl>
<description>Installs {PYTHON_BITNESS} Python for use in build scenarios.</description>

View File

@@ -230,7 +230,7 @@ def calculate_install_json(ns, *, for_embed=False, for_test=False):
STD_UNINSTALL.append({
"kind": "uninstall",
# Other settings will pick up sensible defaults
"Publisher": "Python Software Foundation",
"Publisher": "Typthon Software Foundation",
"HelpLink": f"https://docs.python.org/{VER_DOT}/",
})

View File

@@ -4,8 +4,8 @@
#pragma code_page(1252)
#include "winver.h"
#define PYTHON_COMPANY "Python Software Foundation"
#define PYTHON_COPYRIGHT "Copyright \xA9 2001 Python Software Foundation. Copyright \xA9 2000 BeOpen.com. Copyright \xA9 1995-2001 CNRI. Copyright \xA9 1991-1995 SMC."
#define PYTHON_COMPANY "Typthon Software Foundation"
#define PYTHON_COPYRIGHT "Copyright \xA9 2001 Typthon Software Foundation. Copyright \xA9 2000 BeOpen.com. Copyright \xA9 1995-2001 CNRI. Copyright \xA9 1991-1995 SMC."
#define MS_WINDOWS
#include "modsupport.h"

View File

@@ -4,7 +4,7 @@
static const char cprt[] =
"\
Copyright (c) 2001 Python Software Foundation.\n\
Copyright (c) 2001 Typthon Software Foundation.\n\
All Rights Reserved.\n\
\n\
Copyright (c) 2000 BeOpen.com.\n\