Fix #19: Change the license from MIT to 0BSD (#20) · python/pythoncapi-compat@ea13e44 · GitHub
Skip to content

Commit ea13e44

Browse files
authored
Fix #19: Change the license from MIT to 0BSD (#20)
1 parent e16456b commit ea13e44

6 files changed

Lines changed: 24 additions & 34 deletions

File tree

COPYING

Lines changed: 11 additions & 18 deletions

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ a wide range of Python versions with a single code base. It is made of the
1515
* `Documentation
1616
<https://pythoncapi-compat.readthedocs.io/en/latest/>`_
1717

18-
This project is distributed under the MIT license and is covered by the `PSF
19-
Code of Conduct <https://www.python.org/psf/codeofconduct/>`_.
18+
This project is distributed under the `Zero Clause BSD (0BSD) license
19+
<https://opensource.org/licenses/0BSD>`_ and is covered by the `PSF Code of
20+
Conduct <https://www.python.org/psf/codeofconduct/>`_.

docs/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
* 2022-02-11: The project license changes from the MIT license to the Zero
5+
Clause BSD (0BSD) license. Projects copying ``pythoncapi_compat.h`` no longer
6+
have to include the MIT license and the copyright notice.
7+
* 2022-02-08: Add documentation.
48
* 2022-02-09: ``pythoncapi_compat.h`` now supports C++ on Python 3.6 and newer:
59
use ``nullptr`` and ``reinterpret_cast<type>`` cast on C++, and use ``NULL``
610
and ``(type)`` cast on C.

docs/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ Documentation:
2323
changelog
2424
links
2525

26-
This project is distributed under the MIT license and is covered by the `PSF
27-
Code of Conduct <https://www.python.org/psf/codeofconduct/>`_.
26+
This project is distributed under the `Zero Clause BSD (0BSD) license
27+
<https://opensource.org/licenses/0BSD>`_ and is covered by the `PSF Code of
28+
Conduct <https://www.python.org/psf/codeofconduct/>`_.

docs/users.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,3 @@ Project with a strict contributor agreement:
6060

6161
* `zodbpickle
6262
<https://github.com/zopefoundation/zodbpickle/pull/64>`_
63-
64-
Discussion about the MIT license of the ``pythoncapi_compat.h`` file in the
65-
immutables project:
66-
67-
* issue: `pythoncapi_compat.h is MIT licensed
68-
<https://github.com/MagicStack/immutables/pull/64>`_
69-
* commit: `Clarify the license of the included pythoncapi_compat.h header
70-
<https://github.com/MagicStack/immutables/commit/67c5edfb8284e39ab6a0be9a4644ede306c6e9bd>`_

pythoncapi_compat.h

Lines changed: 3 additions & 4 deletions

0 commit comments

Comments
 (0)