Skip to content

Commit 33ce74b

Browse files
authored
Add advice on copyright notices and PRs (#1470)
1 parent a84443d commit 33ce74b

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import time
2-
31
extensions = [
42
'notfound.extension',
53
'sphinx.ext.extlinks',
@@ -16,7 +14,7 @@
1614

1715
# General information about the project.
1816
project = "Python Developer's Guide"
19-
copyright = f'2011-{time.strftime("%Y")}, Python Software Foundation'
17+
copyright = '2011 Python Software Foundation'
2018

2119
# List of patterns, relative to source directory, that match files and
2220
# directories to ignore when looking for source files.

getting-started/pull-request-lifecycle.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,25 @@ should do to help ensure that your pull request is accepted.
238238
#. Proper :ref:`documentation <documenting>` additions/changes should be included.
239239

240240

241+
Copyrights
242+
==========
243+
244+
Copyright notices are optional and informational, as international treaties
245+
have abolished the requirement for them to protect copyrights.
246+
However, they still serve an informative role.
247+
248+
According to the US Copyright Office, valid copyright notices include the year
249+
of first publication of the work. For example:
250+
251+
Copyright (C) 2001 Python Software Foundation.
252+
253+
Updating notices to add subsequent years is unnecessary and such PRs will be
254+
closed.
255+
256+
See also `python/cpython#126133
257+
<https://github.com/python/cpython/issues/126133#issuecomment-2460824052>`__.
258+
259+
241260
.. _patchcheck:
242261

243262
``patchcheck``

0 commit comments

Comments
 (0)