From 222c0e8e50dfe3087ae6161294a57d5799eb396c Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:48:06 +0200 Subject: [PATCH] Add advice on copyright notices and PRs --- conf.py | 4 +--- getting-started/pull-request-lifecycle.rst | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 74137e8b54..f64e415d1c 100644 --- a/conf.py +++ b/conf.py @@ -1,5 +1,3 @@ -import time - extensions = [ 'notfound.extension', 'sphinx.ext.extlinks', @@ -16,7 +14,7 @@ # General information about the project. project = "Python Developer's Guide" -copyright = f'2011-{time.strftime("%Y")}, Python Software Foundation' +copyright = '2011 Python Software Foundation' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/getting-started/pull-request-lifecycle.rst b/getting-started/pull-request-lifecycle.rst index 5728cb9da0..59242f13f0 100644 --- a/getting-started/pull-request-lifecycle.rst +++ b/getting-started/pull-request-lifecycle.rst @@ -238,6 +238,25 @@ should do to help ensure that your pull request is accepted. #. Proper :ref:`documentation ` additions/changes should be included. +Copyrights +========== + +Copyright notices are optional and informational, as international treaties +have abolished the requirement for them to protect copyrights. +However, they still serve an informative role. + +According to the US Copyright Office, valid copyright notices include the year +of first publication of the work. For example: + + Copyright (C) 2001 Python Software Foundation. + +Updating notices to add subsequent years is unnecessary and such PRs will be +closed. + +See also `python/cpython#126133 +`__. + + .. _patchcheck: ``patchcheck``