Skip to content

Commit

Permalink
Add advice on copyright notices and PRs (#1470)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Nov 21, 2024
1 parent a84443d commit 33ce74b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
4 changes: 1 addition & 3 deletions conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import time

extensions = [
'notfound.extension',
'sphinx.ext.extlinks',
Expand All @@ -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.
Expand Down
19 changes: 19 additions & 0 deletions getting-started/pull-request-lifecycle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,25 @@ should do to help ensure that your pull request is accepted.
#. Proper :ref:`documentation <documenting>` 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
<https://github.com/python/cpython/issues/126133#issuecomment-2460824052>`__.


.. _patchcheck:

``patchcheck``
Expand Down

0 comments on commit 33ce74b

Please sign in to comment.