Skip to content

Commit d4d543a

Browse files
hugovkpicnixz
authored andcommitted
pythongh-126133: Only use start year in PSF copyright, remove end years (python#126236)
1 parent 3f88e52 commit d4d543a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+47
-50
lines changed

Doc/conf.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@
6767

6868
# General substitutions.
6969
project = 'Python'
70-
if sphinx.version_info[:2] >= (8, 1):
71-
copyright = "2001-%Y, Python Software Foundation"
72-
else:
73-
copyright = f"2001-{time.strftime('%Y')}, Python Software Foundation"
70+
copyright = "2001 Python Software Foundation"
7471

7572
# We look for the Include/patchlevel.h file in the current Python source tree
7673
# and replace the values accordingly.

Doc/copyright.rst

Lines changed: 1 addition & 1 deletion

Doc/license.rst

Lines changed: 1 addition & 1 deletion

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
8383
analyze, test, perform and/or display publicly, prepare derivative works,
8484
distribute, and otherwise use Python alone or in any derivative version,
8585
provided, however, that PSF's License Agreement and PSF's notice of copyright,
86-
i.e., "Copyright (c) 2001-2024 Python Software Foundation; All Rights Reserved"
86+
i.e., "Copyright (c) 2001 Python Software Foundation; All Rights Reserved"
8787
are retained in Python alone or in any derivative version prepared by Licensee.
8888

8989
3. In the event Licensee prepares a derivative work that is based on

Lib/email/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2001-2007 Python Software Foundation
1+
# Copyright (C) 2001 Python Software Foundation
22
# Author: Barry Warsaw
33
44

Lib/email/_parseaddr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2002-2007 Python Software Foundation
1+
# Copyright (C) 2002 Python Software Foundation
22
33

44
"""Email address parsing code.

Lib/email/base64mime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2002-2007 Python Software Foundation
1+
# Copyright (C) 2002 Python Software Foundation
22
# Author: Ben Gertzfield
33
44

Lib/email/charset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2001-2007 Python Software Foundation
1+
# Copyright (C) 2001 Python Software Foundation
22
# Author: Ben Gertzfield, Barry Warsaw
33
44

Lib/email/encoders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2001-2006 Python Software Foundation
1+
# Copyright (C) 2001 Python Software Foundation
22
# Author: Barry Warsaw
33
44

Lib/email/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2001-2006 Python Software Foundation
1+
# Copyright (C) 2001 Python Software Foundation
22
# Author: Barry Warsaw
33
44

0 commit comments

Comments
 (0)