Skip to content

The project moved to https://github.com/python/pythoncapi_compat #27

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

Merged
merged 1 commit into from
Mar 3, 2022
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
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
Python C API compatibility
++++++++++++++++++++++++++

.. image:: https://github.com/pythoncapi/pythoncapi_compat/actions/workflows/build.yml/badge.svg
.. image:: https://github.com/python/pythoncapi_compat/actions/workflows/build.yml/badge.svg
:alt: Build status of pythoncapi_compat on GitHub Actions
:target: https://github.com/pythoncapi/pythoncapi_compat/actions
:target: https://github.com/python/pythoncapi_compat/actions

The ``pythoncapi_compat`` project can be used to write a C extension supporting
a wide range of Python versions with a single code base. It is made of the
``pythoncapi_compat.h`` header file and the ``upgrade_pythoncapi.py`` script.

* Homepage: `GitHub pythoncapi_compat project
<https://github.com/pythoncapi/pythoncapi_compat>`_.
<https://github.com/python/pythoncapi_compat>`_.
* `Documentation
<https://pythoncapi-compat.readthedocs.io/en/latest/>`_

Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Some functions related to frame objects and ``PyThreadState`` are not available
on PyPy.

Latest version of the header file:
`pythoncapi_compat.h <https://raw.githubusercontent.com/pythoncapi/pythoncapi_compat/master/pythoncapi_compat.h>`_.
`pythoncapi_compat.h <https://raw.githubusercontent.com/python/pythoncapi_compat/master/pythoncapi_compat.h>`_.


Python 3.11
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Changelog
=========

* 2022-03-03: The project moved to https://github.com/python/pythoncapi_compat
* 2022-02-11: The project license changes from the MIT license to the Zero
Clause BSD (0BSD) license. Projects copying ``pythoncapi_compat.h`` no longer
have to include the MIT license and the copyright notice.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ a wide range of Python versions with a single code base. It is made of the
``pythoncapi_compat.h`` header file and the ``upgrade_pythoncapi.py`` script.

* Homepage: `GitHub pythoncapi_compat project
<https://github.com/pythoncapi/pythoncapi_compat>`_.
<https://github.com/python/pythoncapi_compat>`_.
* `Documentation
<https://pythoncapi-compat.readthedocs.io/en/latest/>`_

Expand Down
4 changes: 2 additions & 2 deletions pythoncapi_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
// Copyright Contributors to the pythoncapi_compat project.
//
// Homepage:
// https://github.com/pythoncapi/pythoncapi_compat
// https://github.com/python/pythoncapi_compat
//
// Latest version:
// https://raw.githubusercontent.com/pythoncapi/pythoncapi_compat/master/pythoncapi_compat.h
// https://raw.githubusercontent.com/python/pythoncapi_compat/master/pythoncapi_compat.h
//
// SPDX-License-Identifier: 0BSD

Expand Down
2 changes: 1 addition & 1 deletion upgrade_pythoncapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
FORCE_STEALREF = False


PYTHONCAPI_COMPAT_URL = ('https://raw.githubusercontent.com/pythoncapi/'
PYTHONCAPI_COMPAT_URL = ('https://raw.githubusercontent.com/python/'
'pythoncapi_compat/master/pythoncapi_compat.h')
PYTHONCAPI_COMPAT_H = 'pythoncapi_compat.h'
INCLUDE_PYTHONCAPI_COMPAT = f'#include "{PYTHONCAPI_COMPAT_H}"'
Expand Down