]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-126133: Only use start year in PSF copyright, remove end years (#126236)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Tue, 12 Nov 2024 13:59:19 +0000 (15:59 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2024 13:59:19 +0000 (15:59 +0200)
45 files changed:
Doc/conf.py
Doc/copyright.rst
Doc/license.rst
LICENSE
Lib/email/__init__.py
Lib/email/_parseaddr.py
Lib/email/base64mime.py
Lib/email/charset.py
Lib/email/encoders.py
Lib/email/errors.py
Lib/email/feedparser.py
Lib/email/generator.py
Lib/email/header.py
Lib/email/iterators.py
Lib/email/message.py
Lib/email/mime/application.py
Lib/email/mime/audio.py
Lib/email/mime/base.py
Lib/email/mime/image.py
Lib/email/mime/message.py
Lib/email/mime/multipart.py
Lib/email/mime/nonmultipart.py
Lib/email/mime/text.py
Lib/email/parser.py
Lib/email/quoprimime.py
Lib/email/utils.py
Lib/functools.py
Lib/optparse.py
Lib/test/test_csv.py
Lib/test/test_email/test_asian_codecs.py
Lib/test/test_email/test_email.py
Lib/test/test_email/torture_test.py
Lib/test/test_plistlib.py
Lib/textwrap.py
Lib/unittest/__init__.py
Lib/wsgiref/headers.py
Mac/BuildScript/resources/License.rtf
Mac/PythonLauncher/Info.plist.in
Modules/_decimal/docstrings.h
Modules/_decimal/tests/bench.py
Modules/_functoolsmodule.c
PC/python_ver_rc.h
PC/store_info.txt
Python/getcopyright.c
README.rst

index 73d7d5db26ff7b9aae2278c203e9af8e51953b82..738c9901eef06fd1d0e2343a2eec537e2b4f5f3f 100644 (file)
@@ -67,10 +67,7 @@ manpages_url = 'https://manpages.debian.org/{path}'
 
 # General substitutions.
 project = 'Python'
-if sphinx.version_info[:2] >= (8, 1):
-    copyright = "2001-%Y, Python Software Foundation"
-else:
-    copyright = f"2001-{time.strftime('%Y')}, Python Software Foundation"
+copyright = "2001 Python Software Foundation"
 
 # We look for the Include/patchlevel.h file in the current Python source tree
 # and replace the values accordingly.
index 8629ed1fc38009f289978f7d61f1def892075e15..9210d5f50ed84154c7532aa40ad417883da8271d 100644 (file)
@@ -4,7 +4,7 @@ Copyright
 
 Python and this documentation is:
 
-Copyright © 2001-2024 Python Software Foundation. All rights reserved.
+Copyright © 2001 Python Software Foundation. All rights reserved.
 
 Copyright © 2000 BeOpen.com. All rights reserved.
 
index 674ac5f56e6f971059caab58999839aa5117f8fe..428dc22b817ebe620d9aec2e676bfa3e927fafe4 100644 (file)
@@ -100,7 +100,7 @@ PSF LICENSE AGREEMENT FOR PYTHON |release|
       analyze, test, perform and/or display publicly, prepare derivative works,
       distribute, and otherwise use Python |release| alone or in any derivative
       version, provided, however, that PSF's License Agreement and PSF's notice of
-      copyright, i.e., "Copyright © 2001-2024 Python Software Foundation; All Rights
+      copyright, i.e., "Copyright © 2001 Python Software Foundation; All Rights
       Reserved" are retained in Python |release| alone or in any derivative version
       prepared by Licensee.
 
diff --git a/LICENSE b/LICENSE
index 14603b95c2e23b5a4cd6ff93f50348d1817f7638..20cf39097c68baa17cc566b64e76d34ebf034044 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -83,7 +83,7 @@ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
 analyze, test, perform and/or display publicly, prepare derivative works,
 distribute, and otherwise use Python alone or in any derivative version,
 provided, however, that PSF's License Agreement and PSF's notice of copyright,
-i.e., "Copyright (c) 2001-2024 Python Software Foundation; All Rights Reserved"
+i.e., "Copyright (c) 2001 Python Software Foundation; All Rights Reserved"
 are retained in Python alone or in any derivative version prepared by Licensee.
 
 3. In the event Licensee prepares a derivative work that is based on
index 9fa477830041859216210f79b1b111d82de814d3..6d597006e5eefe1a7e48bf632aa0971c0a23eb39 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2007 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 36625e35ffb6a7e3c57dbc014727fcc7cb0b808b..84917038874ba1ff442b14408085886bb9213610 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2007 Python Software Foundation
+# Copyright (C) 2002 Python Software Foundation
 # Contact: email-sig@python.org
 
 """Email address parsing code.
index d440de95255bf13f01330fbaa9a2275dbcb3da5d..a5a3f737a97b519a63c61790f1846acb5c75569b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2007 Python Software Foundation
+# Copyright (C) 2002 Python Software Foundation
 # Author: Ben Gertzfield
 # Contact: email-sig@python.org
 
index cfd5a0c456e497c58626cd63257d467d4dd0aa70..5036c3f58a5633cce4189dfc3dda5aedbbd10a26 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2007 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Ben Gertzfield, Barry Warsaw
 # Contact: email-sig@python.org
 
index 17bd1ab7b19f32514db7935b8b8aed110baa888b..55741a22a07b20403cb2d6e1c16fe75f0a0631f1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 02aa5eced6ae461ee52236665e1770be7972dd5c..6bc744bd59c5bb4d10512c39ef448fbd51019050 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 06d6b4a3afcd070b40012c6d1eed70f9fcbb53a3..b2bc4afc1cc26f12f125102b0eda00e93b4067cf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2004-2006 Python Software Foundation
+# Copyright (C) 2004 Python Software Foundation
 # Authors: Baxter, Wouters and Warsaw
 # Contact: email-sig@python.org
 
index 205caf0fe9e81dbdbc96ab873650881734fbfc2c..ab5bd0653e440c4e11788fc8b43a6e25daadfdad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2010 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 66a1d46db50c45930e0779fa742dde94f09d1de5..113a81f41314ec1a09a62a81240de53a5236853b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2007 Python Software Foundation
+# Copyright (C) 2002 Python Software Foundation
 # Author: Ben Gertzfield, Barry Warsaw
 # Contact: email-sig@python.org
 
index 2f436aefc2300b6adfb388d36cacc6943e95f277..08ede3ec679613a21f791f0f67a802fb6da5f488 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 08192c50a8ff5cbca61592b2282caa05aa7402b1..a58afc5fe5f68e589b219e438291504918b2a098 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2007 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index f67cbad3f03407618de8f7ae1b2a86fc913e62f8..9a9d213d2a940d1cdb094dbe9c3f2d2cdde214eb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Keith Dart
 # Contact: email-sig@python.org
 
index aa0c4905cbb2b4d8dfb7529057e2bca8424de569..85f4a955238c52060e01a688301e276d50fdb3f6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2007 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Anthony Baxter
 # Contact: email-sig@python.org
 
index f601f621cec3933d1668cbe22bb10b9c94daf55e..da4c6e591a5cb8545d8eca5892215fce2e63ee6c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 4b7f2f9cbad425222a3f56f56511e9920149a2d6..dab9685848172b34e255c01d947be57372dc13c0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 61836b5a7861fca712c57dc70d5b32e597dc16bf..13d9ff599f86dbb9383442189f170276cd88154a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 47fc218e1ae032c5756983b86bb26e862d1efaa0..1abb84d5fed0bb2f5809b7ba8cf3e054abf97f61 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2006 Python Software Foundation
+# Copyright (C) 2002 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index a41386eb148c0c835b789526bb343b01efab4709..5beab3a441e2bc6f4b88337718c8daa4711188a8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2006 Python Software Foundation
+# Copyright (C) 2002 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 7672b78913860091329fae6e786b83d0ed68b87d..aa4da7f8217e433186c518604e4ae531d2d78c48 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index 475aa2b1a66680f40c2625375e0eb996addc5cc3..039f03cba74fa0c8c98417461f74c2916d9a385a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2007 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw, Thomas Wouters, Anthony Baxter
 # Contact: email-sig@python.org
 
index 500bbc5151769d374293bcb09e465591fa813fa6..27c7ea55c7871fd6e8ca43b723598579d207da07 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Ben Gertzfield
 # Contact: email-sig@python.org
 
index f276303197396b1953c60dd0daabe8592ead9991..7eab74dc0db9df6231b07331fff555ab6a10dedd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2010 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Author: Barry Warsaw
 # Contact: email-sig@python.org
 
index bde0a3e95b8275d41bb8636ee170d3db5b83a035..eff6540c7f606e081b17e2aff7bb889380a9f19e 100644 (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-2024 Python Software Foundation.
+#   Copyright (C) 2006 Python Software Foundation.
 # See C source code for _functools credits/copyright
 
 __all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',
index 04112eca37c801a4e7da278b113ec778a6d94130..cbe3451ced8bc372187630a8f3ba98d998b68c5d 100644 (file)
@@ -43,7 +43,7 @@ __all__ = ['Option',
 
 __copyright__ = """
 Copyright (c) 2001-2006 Gregory P. Ward.  All rights reserved.
-Copyright (c) 2002-2006 Python Software Foundation.  All rights reserved.
+Copyright (c) 2002 Python 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
index ce5c03659f197951029fa61fc538c8998f193c7c..4af8f7f480e759c639fcc1419baf96a89161d3bf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001,2002 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # csv package unit tests
 
 import copy
index 1e0caeeaed0810a095cf99ce81b122841011d89f..ca44f54c69b39bcf67f57da9d802e3852dfb2e54 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2006 Python Software Foundation
+# Copyright (C) 2002 Python Software Foundation
 # Contact: email-sig@python.org
 # email package unit tests for (optional) Asian codecs
 
index 65ddbabcaa19978d23e74238bd298f9093455be0..abe9ef2e94409f88509756ec0164f1be39d66fdd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2010 Python Software Foundation
+# Copyright (C) 2001 Python Software Foundation
 # Contact: email-sig@python.org
 # email package unit tests
 
index 9cf9362c9b77e02174037561a4bc462397442a56..d15948a38b25dd32897ab79b34e7b3110e27c631 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2004 Python Software Foundation
+# Copyright (C) 2002 Python 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
index b231b05f864ab9ec43d709b6472b09c6f7820e41..a0c76e5dec5ebe03e88bd889dc5cc93a50509ad8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2003-2013 Python Software Foundation
+# Copyright (C) 2003 Python Software Foundation
 import copy
 import operator
 import pickle
index 7ca393d1c371aad54a2d1d70fae15efa889175bb..1bf07aa46cad99f9e08e8618166469456ad5647c 100644 (file)
@@ -2,7 +2,7 @@
 """
 
 # Copyright (C) 1999-2001 Gregory P. Ward.
-# Copyright (C) 2002, 2003 Python Software Foundation.
+# Copyright (C) 2002 Python Software Foundation.
 # Written by Greg Ward <gward@python.net>
 
 import re
index 324e5d038aef03a8fed8414253d97468caceb32c..78ff6bb4fdcce5db138212392ad87515d7dee576 100644 (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-2010 Python Software Foundation
+Copyright (c) 2003 Python 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.
index 05d2ba4c664e5e0756ecc67506a8401b6d408e45..c78879f80c7df247105cce1037489d0b7be2769a 100644 (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,2002 Python Software Foundation, and were
+so portions are Copyright (C) 2001 Python Software Foundation, and were
 written by Barry Warsaw.
 """
 
index 1255d1ce48ed6cf912de38b3919f0b22fda906ac..b5cb8ec41c86e218f320db7085ac1defe4a08d7b 100644 (file)
@@ -64,7 +64,7 @@ Some software incorporated into Python is under different licenses. The licenses
 \f1\b0 \
 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation.\
 \
-2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright \'a9 2001-2020 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee.\
+2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright \'a9 2001 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee.\
 \
 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python.\
 \
index 233694788ac2b7b3ed0a94e41f604143b2f026c1..ce8f27cd7d4de70641c271d526d72a559f99f2b5 100644 (file)
@@ -40,9 +40,9 @@
        <key>CFBundleExecutable</key>
        <string>Python Launcher</string>
        <key>NSHumanReadableCopyright</key>
-       <string>Copyright © 2001-2024 Python Software Foundation</string>
+       <string>Copyright © 2001 Python Software Foundation</string>
        <key>CFBundleGetInfoString</key>
-       <string>%VERSION%, © 2001-2024 Python Software Foundation</string>
+       <string>%VERSION%, © 2001 Python Software Foundation</string>
        <key>CFBundleIconFile</key>
        <string>PythonLauncher.icns</string>
        <key>CFBundleIdentifier</key>
index b34bff83d3f4e95a679c08b789f08ad181737a25..5abd7b9d807e195f56390a10bc38bf8db73c0999 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001-2012 Python Software Foundation. All Rights Reserved.
+ * Copyright (c) 2001 Python Software Foundation. All Rights Reserved.
  * Modified and extended by Stefan Krah.
  */
 
index 640290f2ec7962cd761c5f5f9b8cb4494d721778..6605e9a92e2dde465d89df278ffe32273623ace9 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2001-2012 Python Software Foundation. All Rights Reserved.
+# Copyright (C) 2001 Python Software Foundation. All Rights Reserved.
 # Modified and extended by Stefan Krah.
 #
 
index 5e0cf057dcd1a29b7cce8e636824e15ee71679d1..24b38063dde9e54a374e89ec082c5d44884405ea 100644 (file)
@@ -18,7 +18,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, 2005, 2006 Python Software Foundation.
+   Copyright (c) 2004 Python Software Foundation.
    All rights reserved.
 */
 
index 08509f96ed1db892eab44c51670105e583bc6a57..ee867fe41224c375c5e27c1b37c53518ab68b1c6 100644 (file)
@@ -5,7 +5,7 @@
 #include "winver.h"
 
 #define PYTHON_COMPANY   "Python Software Foundation"
-#define PYTHON_COPYRIGHT "Copyright \xA9 2001-2024 Python Software Foundation. Copyright \xA9 2000 BeOpen.com. Copyright \xA9 1995-2001 CNRI. Copyright \xA9 1991-1995 SMC."
+#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 MS_WINDOWS
 #include "modsupport.h"
index f6a85cb8ebec1fde03dd814277b291e78b7d8910..d150ba17cbe62dde2616ac219121b6fc32c0b53d 100644 (file)
@@ -109,7 +109,7 @@ PSF LICENSE AGREEMENT FOR PYTHON 3.9
    analyze, test, perform and/or display publicly, prepare derivative works,
    distribute, and otherwise use Python 3.9 alone or in any derivative
    version, provided, however, that PSF's License Agreement and PSF's notice of
-   copyright, i.e., "Copyright © 2001-2018 Python Software Foundation; All Rights
+   copyright, i.e., "Copyright © 2001 Python Software Foundation; All Rights
    Reserved" are retained in Python 3.9 alone or in any derivative version
    prepared by Licensee.
 
index 066c2ed66acddfe9c4c3bebbe2c180e8473d736f..964584ddf7998ea87fa8b9a7feb29a8070bf9a70 100644 (file)
@@ -4,7 +4,7 @@
 
 static const char cprt[] =
 "\
-Copyright (c) 2001-2024 Python Software Foundation.\n\
+Copyright (c) 2001 Python Software Foundation.\n\
 All Rights Reserved.\n\
 \n\
 Copyright (c) 2000 BeOpen.com.\n\
index 3f694771e090cb788965eae078f322ad3ff5aebf..0134aafe2a969a5da94e7301a70447e3aee0fafe 100644 (file)
@@ -14,7 +14,7 @@ This is Python version 3.14.0 alpha 1
    :target: https://discuss.python.org/
 
 
-Copyright © 2001-2024 Python Software Foundation.  All rights reserved.
+Copyright © 2001 Python Software Foundation.  All rights reserved.
 
 See the end of this file for further copyright and license information.
 
@@ -215,7 +215,7 @@ Copyright and License Information
 ---------------------------------
 
 
-Copyright © 2001-2024 Python Software Foundation.  All rights reserved.
+Copyright © 2001 Python Software Foundation.  All rights reserved.
 
 Copyright © 2000 BeOpen.com.  All rights reserved.