| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,16 +2,16 @@ | |||
| 2 | 2 | Python C API compatibility | |
| 3 | 3 | ++++++++++++++++++++++++++ | |
| 4 | 4 | ||
| 5 | - .. image:: https://github.com/python/pythoncapi_compat/actions/workflows/build.yml/badge.svg | ||
| 6 | - :alt: Build status of pythoncapi_compat on GitHub Actions | ||
| 7 | - :target: https://github.com/python/pythoncapi_compat/actions | ||
| 5 | + .. image:: https://github.com/python/pythoncapi-compat/actions/workflows/build.yml/badge.svg | ||
| 6 | + :alt: Build status of pythoncapi-compat on GitHub Actions | ||
| 7 | + :target: https://github.com/python/pythoncapi-compat/actions | ||
| 8 | 8 | ||
| 9 | - The ``pythoncapi_compat`` project can be used to write a C extension supporting | ||
| 9 | + The ``pythoncapi-compat`` project can be used to write a C extension supporting | ||
| 10 | 10 | a wide range of Python versions with a single code base. It is made of the | |
| 11 | 11 | ``pythoncapi_compat.h`` header file and the ``upgrade_pythoncapi.py`` script. | |
| 12 | 12 | ||
| 13 | - * Homepage: `GitHub pythoncapi_compat project | ||
| 14 | - <https://github.com/python/pythoncapi_compat>`_. | ||
| 13 | + * Homepage: `GitHub pythoncapi-compat project | ||
| 14 | + <https://github.com/python/pythoncapi-compat>`_. | ||
| 15 | 15 | * `Documentation | |
| 16 | 16 | <https://pythoncapi-compat.readthedocs.io/en/latest/>`_ | |
| 17 | 17 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,7 +21,7 @@ Some functions related to frame objects and ``PyThreadState`` are not available | |||
| 21 | 21 | on PyPy. | |
| 22 | 22 | ||
| 23 | 23 | Latest version of the header file: | |
| 24 | - `pythoncapi_compat.h <https://raw.githubusercontent.com/python/pythoncapi_compat/master/pythoncapi_compat.h>`_. | ||
| 24 | + `pythoncapi_compat.h <https://raw.githubusercontent.com/python/pythoncapi-compat/master/pythoncapi_compat.h>`_. | ||
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | 27 | Python 3.11 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,14 @@ | |||
| 1 | 1 | Changelog | |
| 2 | 2 | ========= | |
| 3 | 3 | ||
| 4 | + * 2022-04-26: Rename the project from ``pythoncapi_compat`` to | ||
| 5 | + ``pythoncapi-compat``: replace the underscore separator with a dash. | ||
| 4 | 6 | * 2022-04-08: Add functions ``PyFrame_GetLocals()``, ``PyFrame_GetGlobals()`` | |
| 5 | 7 | ``PyFrame_GetBuiltins()``, and ``PyFrame_GetLasti()``. | |
| 6 | 8 | * 2022-03-12: Add functions ``PyFloat_Pack2()``, ``PyFloat_Pack4()``, | |
| 7 | 9 | ``PyFloat_Pack8()``, ``PyFloat_Unpack2()``, ``PyFloat_Unpack4()`` and | |
| 8 | 10 | ``PyFloat_Unpack8()``. | |
| 9 | - * 2022-03-03: The project moved to https://github.com/python/pythoncapi_compat | ||
| 11 | + * 2022-03-03: The project moved to https://github.com/python/pythoncapi-compat | ||
| 10 | 12 | * 2022-02-11: The project license changes from the MIT license to the Zero | |
| 11 | 13 | Clause BSD (0BSD) license. Projects copying ``pythoncapi_compat.h`` no longer | |
| 12 | 14 | have to include the MIT license and the copyright notice. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,12 +2,12 @@ | |||
| 2 | 2 | Python C API compatibility | |
| 3 | 3 | ++++++++++++++++++++++++++ | |
| 4 | 4 | ||
| 5 | - The ``pythoncapi_compat`` project can be used to write a C extension supporting | ||
| 5 | + The ``pythoncapi-compat`` project can be used to write a C extension supporting | ||
| 6 | 6 | a wide range of Python versions with a single code base. It is made of the | |
| 7 | 7 | ``pythoncapi_compat.h`` header file and the ``upgrade_pythoncapi.py`` script. | |
| 8 | 8 | ||
| 9 | - * Homepage: `GitHub pythoncapi_compat project | ||
| 10 | - <https://github.com/python/pythoncapi_compat>`_. | ||
| 9 | + * Homepage: `GitHub pythoncapi-compat project | ||
| 10 | + <https://github.com/python/pythoncapi-compat>`_. | ||
| 11 | 11 | * `Documentation | |
| 12 | 12 | <https://pythoncapi-compat.readthedocs.io/en/latest/>`_ | |
| 13 | 13 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | Run tests | |
| 2 | 2 | ========= | |
| 3 | 3 | ||
| 4 | - To run pythoncapi_compat tests, type:: | ||
| 4 | + To run pythoncapi-compat tests, type:: | ||
| 5 | 5 | ||
| 6 | 6 | python3 runtests.py | |
| 7 | 7 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | - +++++++++++++++++++++++++ | ||
| 2 | - pythoncapi_compat.h users | ||
| 3 | - +++++++++++++++++++++++++ | ||
| 1 | + +++++++++++++++++++++++ | ||
| 2 | + pythoncapi-compat users | ||
| 3 | + +++++++++++++++++++++++ | ||
| 4 | 4 | ||
| 5 | 5 | Examples of projects using pythoncapi_compat.h | |
| 6 | 6 | ============================================== | |
| Back | FazBrowse Home | New Git URL |
0 commit comments