Use static copyright years · Issue #126133 · python/cpython (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@hugovk

Description

@hugovk

Short version

Each January we update the PSF copyright years in the repo:

Copyright © 2001-2024 Python Software Foundation. All rights reserved.

2025 is approaching.

Can we get permission from the PSF to adopt a copyright that does not need updating every year?

I suggest something like one of the following:

Copyright © Python Software Foundation. All rights reserved.
Copyright © 2001 Python Software Foundation. All rights reserved.
Copyright © 2001-present Python Software Foundation. All rights reserved.

Longer version

Last year, we updated it in 15 places in 10 files:

Sometimes we miss a few and have to update them later:

Or we miss something, merge the fix a year late, which needs refixing:

And sometimes we backport these to (some) older branches, but other years don't:

Sometimes there's lots of duplicate PRs that end up closed and wasting everyone's time:

Not only is this tedious work, it is likely unnecessary. A lot of big projects have stopped updating copyright years: https://hynek.me/til/copyright-years/

For example:

Copyright (c) 2009 The Go Authors. All rights reserved.
Copyright (c) 2015 - present Microsoft Corporation
Copyright 2013 Netflix, Inc.
Copyright (c) Meta Platforms, Inc. and affiliates.
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) .NET Foundation and Contributors

These either have only have the first year, omit years altogether, or end with "present".

Can we do something similar?

Linked PRs