Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add advice on copyright notices and PRs #1470

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clarifying that this date applies to the devguide only.

# 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
Loading