Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python/pythoncapi-compat

The pythoncapi-compat project can be used to write a C extension supporting a wide range of Python versions with a single code base.
https://github.com/python/pythoncapi-compat

Add hash constants (#85)

7539c7f82c0eda744ac455f0a15bf41432f2b02c authored 10 months ago by Victor Stinner <[email protected]>
Add PyTime API (#84)

52486a9d964c3f9a91ca9c60f5eefabcc06e92e4 authored 11 months ago by Victor Stinner <[email protected]>
API: document not supported functions

deb6f40255c05985dad09565566bc75c84f4addf authored about 1 year ago by Victor Stinner <[email protected]>
Add Py_HashPointer() (#83)

4678af46f6015a3b38d84498f6d5e165c9df2479 authored about 1 year ago by Victor Stinner <[email protected]>
Update tests

2ff444151ae7472e571f4514480ab9833fdfc867 authored about 1 year ago by Victor Stinner <[email protected]>
GHA: test Python 2.7 (#82)

481bee0b4a55564ef4578f0ad7c090ae94a7c64a authored about 1 year ago by Victor Stinner <[email protected]>
Add PyDict_Pop() function (#81)

Add PyDict_Pop() and PyDict_PopString() functions.

5bf2fb2f2d12217ce5a7c906703b249af6b4787d authored about 1 year ago by Victor Stinner <[email protected]>
Add PyList_Extend() (#80)

1c1ab386d3c255cb7c4170c774ae50a20faf6e20 authored about 1 year ago by Victor Stinner <[email protected]>
Test Python 3.13 (#79)

* GHA: add Python 3.13.
* runtests.py: add "python3.13".
* GHA workflow: use Python 3.12 inste...

85e4cd55dec60c94924830dad6541b0890fbdd57 authored about 1 year ago by Victor Stinner <[email protected]>
Add PyUnicode_EqualToUTF8() function (#78)

Add PyUnicode_EqualToUTF8() and PyUnicode_EqualToUTF8AndSize()
functions.

99ab0d3767b2cfad3108e83cf04e40005ee73b6c authored about 1 year ago by Victor Stinner <[email protected]>
Fix typo: _Py_IsFinalizing() not Py_IsFinalizing

dab5f9834fff35c4c2d5d397feecd0278a7a6d75 authored over 1 year ago by Victor Stinner <[email protected]>
Add PyThreadState_GetUnchecked() (#77)

f78c780daa7beaeb442313a36eb74bb4ab246b7e authored over 1 year ago by Victor Stinner <[email protected]>
Add PyObject_VisitManagedDict() (#76)

Add PyObject_VisitManagedDict() and PyObject_ClearManagedDict()
functions.

a5943544e2301aa6f5c026b48d84d32e01d9ebda authored over 1 year ago by Victor Stinner <[email protected]>
Add PyObject_HasAttrWithError() (#74)

Add PyObject_HasAttrWithError() and PyObject_HasAttrStringWithError()
functions.

Fix PyObjec...

671fb694ce147d8b312f71221028e39a0ae5c620 authored over 1 year ago by Victor Stinner <[email protected]>
Add PyMapping_HasKeyWithError() function (#73)

Add PyMapping_HasKeyWithError() and PyMapping_HasKeyStringWithError()
functions.

Fix also un...

309c56dbe7d42822ebd27ae2b9ac45ed0120c1ef authored over 1 year ago by Victor Stinner <[email protected]>
Add PyLong_AsInt() function (#72)

81098119e2e28c52e31eb4f6ba116767b3381b53 authored over 1 year ago by Victor Stinner <[email protected]>
Add PyDict_ContainsString() function (#71)

4734c8ec3a4111d1fb6ded87db135ed3345d1867 authored over 1 year ago by Victor Stinner <[email protected]>
Fix setup.py when CC contains -std=c11 option (#70)

Fix setup.py when the C compiler command has the "-std=c11" option.
Remove "-std=" options from...

5b5b547398ae2ea2f57acb863f542a712cd970b7 authored over 1 year ago by Victor Stinner <[email protected]>
Don't include frameobject.h on Python 3.11 (#69)

e4539d002d8f3292f3f1dbf0641387cb85e6806a authored over 1 year ago by Victor Stinner <[email protected]>
Remove support for Python 2.7 on Windows (#68)

Mercurial 6.2 released in July 2022 removed support for Python 2.7.
It was the last project usi...

a01e63e8ddac9782cee42a5316960688fc26a58d authored over 1 year ago by Victor Stinner <[email protected]>
Test pypy3.10

47c06565862ed65ae75624cf5125dd5efbbebb34 authored over 1 year ago by Victor Stinner <[email protected]>
Test old PyPy versions (#67)

92412c9daf35093701af0f4d5cdcc1232aa5497a authored over 1 year ago by Victor Stinner <[email protected]>
Add Py_IsFinalizing() (#66)

1bb4e168b5931f88d9d49fe29d36cc0721ca14ff authored over 1 year ago by Victor Stinner <[email protected]>
Tests log the Python version

91e323f194df09dfd5822d2ae9562767f0c30e97 authored over 1 year ago by Victor Stinner <[email protected]>
Add PyTorch to users.rst (#65)

I've seen PRs updating this file so adding PyTorch to the list as well as we're relying on this ...

59b1b841c828f10c588b37d08cb6df4d6e867656 authored over 1 year ago by albanD <[email protected]>
Set documentation configuration to English

64becb301356b86effef7e109caf3db091046344 authored over 1 year ago by Victor Stinner <[email protected]>
GHA uses "3.12" for Python 3.12 (#64)

a1d8346a5abe808c1bec629a3e6ea0a08859fa1c authored over 1 year ago by Victor Stinner <[email protected]>
Drop Python 3.4 support (#63)

GHA tests also PyPy 3.6.

8d591d34e1922cff654e7fb0ce2f8082b5dd34ce authored over 1 year ago by Victor Stinner <[email protected]>
Add PyDict_GetItemRef()

eaff3c172f94ed32ac38860c38d7a8fa27483e57 authored over 1 year ago by Victor Stinner <[email protected]>
Use _Py_NULL for C++

c7dac97570ed09211e53e5167eff0beed23156a5 authored over 1 year ago by Victor Stinner <[email protected]>
Add PyModule_Add() function

PyModule_AddObjectRef() now raises SystemError if the value is NULL
and no exception is set.

e3f0eba86a5e7fc4c63c74098026746a8027f64d authored over 1 year ago by Victor Stinner <[email protected]>
Add PyMapping_GetOptionalItem() function

7515dae02694c4a6936ecc0cf6a6b37d1e03c1c0 authored over 1 year ago by Victor Stinner <[email protected]>
Add PyObject_GetOptionalAttr() function

157d6d432831c739fe601f70ec7623b0b71febba authored over 1 year ago by Victor Stinner <[email protected]>
Add PyObject_Vectorcall() (#62)

1911dd4e085d47a90c255f1dd2cdb935381080ad authored over 1 year ago by Victor Stinner <[email protected]>
runtests.py runs python3-debug first

4dbb3102cdba8eee1d49068befda2924a4c82bf2 authored over 1 year ago by Victor Stinner <[email protected]>
PyWeakref_GetRef() returns 1 on success

See upstream change:
https://github.com/python/cpython/commit/ee46cb6aa959d891b0a480fea29f1eb991...

d000b555d254049a9d7ca5b2d058e4bdcd5dc0d6 authored over 1 year ago by Victor Stinner <[email protected]>
Add PyWeakref_GetRef() function (#61)

6c49cf3463a3b16c16a2db5901b67387a213f436 authored over 1 year ago by Victor Stinner <[email protected]>
Remove Python 2.7 from GHA

96693481dec63ea0667d86712a823b0d04292987 authored over 1 year ago by Victor Stinner <[email protected]>
Drop support for alpha versions of Python 3.11

e893e06f2913ee7af4806933b9bd5cf9db36114c authored over 1 year ago by Victor Stinner <[email protected]>
Add PyImport_AddModuleRef() function

8ba8db366f51b3d8883c4e4bf4709394b418e688 authored over 1 year ago by Victor Stinner <[email protected]>
Fix runtests.py for venv

c10dbfaddb9813428d447677d234442bae6da924 authored over 1 year ago by Victor Stinner <[email protected]>
fix for pypy3.9-v7.3.11 (#59)

pypy3.9-v7.3.11 provides PyObject_CallNoArgs() and PyObject_CallOneArg().

e266312557d7bf2223d88c867bdb45f9985f0a05 authored over 1 year ago by logicsys <[email protected]>
Update tests for Python 3.12 (#60)

* Install explicitly setuptools for Python 3.12
* Fix tests for Python 3.12 beta1 immortal obje...

513acb3b060272652c8b2d6d600e45b976c73755 authored over 1 year ago by Victor Stinner <[email protected]>
readthedocs.yaml: Fix Sphinx configuration

b4f2bb6e3349f769438dabddec19657d964d693f authored over 1 year ago by Victor Stinner <[email protected]>
Add .readthedocs.yaml file

72bb252f4a3aab75034d89caae62aaef868718ce authored over 1 year ago by Victor Stinner <[email protected]>
Update users.rst

Add hollerith

3779f1221363b0f8c65c4f0ee24b36603c98547a authored about 2 years ago by Mohamed Koubaa <[email protected]>
Rename Py_INCREF_assign to Py_NewRef (#58)

Rename Py_INCREF_assign and Py_INCREF_return to Py_NewRef.

ee57e9931d486c8ed5e2ebe6bd6559f8cd075ae4 authored about 2 years ago by Victor Stinner <[email protected]>
Add Py_SETREF and Py_CLEAR operations (#56)

* Py_CLEAR doesn't replace Py_DECREF().
* Remove FORCE_NEWREF. Instead, exclude NewRef operatio...

8ebf997d5efdac08030463e56fa3d974439dbd04 authored about 2 years ago by Victor Stinner <[email protected]>
Fix GitHub Actions for Ubuntu 22.04 (#57)

* PyPy: test 2.7, 3.7, 3.8 and 3.9
* Test also CPython 3.11 on Windows and macOS
* Use old Ubu...

35208be2b4ec814889e627827341b543d535078a authored about 2 years ago by Victor Stinner <[email protected]>
Fix Py_INCREF_assign regex order (#53)

Py_INCREF_return supports cast to "PyObject*".

af23244d97b6424c7f563663120f292a56ae6509 authored about 2 years ago by Victor Stinner <[email protected]>
Enhance NewRef operations (#52)

ba0752fcff5a0d4af12d6fe0f96ed112f58e899c authored about 2 years ago by Victor Stinner <[email protected]>
upgrade_pythoncapi: enhance Py_NewRef() operations (#51)

Remove FORCE_STEALREF: _Py_StealRef() was removed.

5d397039858862bc5c371ad21a2d175f57c1cc6a authored about 2 years ago by Victor Stinner <[email protected]>
Update Py_SETREF() to fix gh-98724 (#50)

https://github.com/python/cpython/issues/98724

7d35838d272ba68e1400a4b5e57060ddb21ba635 authored about 2 years ago by Victor Stinner <[email protected]>
Support PyPy 3.9 (#49)

GitHub Actions: use Python 3.11 version, rather than 3.11b3.

dda2c764a6cd78ba155510ccf5e8172735694338 authored about 2 years ago by Victor Stinner <[email protected]>
runtests.py: test Python 3.12 (#48)

5f2a7237703ba75551effc406cc9d0676c32b357 authored about 2 years ago by Victor Stinner <[email protected]>
Add PyFrame_GetVar() (#46)

75b43a687129f2744d4a2c092458c4caa93e162e authored about 2 years ago by Victor Stinner <[email protected]>
Add PyCode_GetVarnames() (#44)

b079cc4f93f479d7fe92c92be481d7ba66731868 authored over 2 years ago by Victor Stinner <[email protected]>
Fix reference leak check: flush stdout

Previously, a leak was detected when stdout was redirected.

57aaa18053386142d1c93e26b201da15b86ad23b authored over 2 years ago by Victor Stinner <[email protected]>
Fix compatibility with C++03 (#42)

* _Py_CAST() uses old-style cast on old Python versions to prevent
C++ warnings.
* Fix _Py_N...

de360d8fcc20089629b55db3a74b14755f8912ee authored over 2 years ago by Victor Stinner <[email protected]>
Test -Wold-style-cast -Wzero-as-null-pointer-constant on Python 3.12

73e63863f8b5b68bc698459cd84fc49bb8408eb1 authored over 2 years ago by Victor Stinner <[email protected]>
Use _Py_CAST() in test_pythoncapi_compat_cext.c

Avoid old-style cast in C++.

ef761f011a5e8236a53f3c3d4751b4e32c2c8ca3 authored over 2 years ago by Victor Stinner <[email protected]>
Prefer setuptools to distutils

Keep support for distutils since it's convenient to use a Python
built from source but not insta...

5287eac877e618d21c5bded224cf2ae0916c3d29 authored over 2 years ago by Victor Stinner <[email protected]>
Copy _Py_CAST() from Python main branch (#40)

* Fix C++ compatibility.
* Add more tests on C++.

ab11e2087ba1969a7e4bff4f538dbb4bb19b0132 authored over 2 years ago by Victor Stinner <[email protected]>
Fix PyCode_GetCode(): declare as static inline

2df7eddcca3aeb83f0930267468bd56986bc6291 authored over 2 years ago by Victor Stinner <[email protected]>
Revert "Add appveyor.yml (#31)"

This reverts commit fda2faac61f18c96f74070ee7809da1300e20a17.

46d5a61f6197f8dc1ce47ad683ea3f15d4d4d4a1 authored over 2 years ago by Victor Stinner <[email protected]>
Add appveyor.yml (#31)

fda2faac61f18c96f74070ee7809da1300e20a17 authored over 2 years ago by Victor Stinner <[email protected]>
Use Python 3.11 _Py_NULL (#36)

90d26c5977db940ec12ec0600afa16d39e431016 authored over 2 years ago by Victor Stinner <[email protected]>
Fix PyCode_GetCode() doc

bed155efcc133b0e901857fb4c964e84429087eb authored over 2 years ago by Victor Stinner <[email protected]>
Use Python 3.11 _Py_CAST() macro (#35)

Remove _Py_StealRef() and _Py_XStealRef() functions.

c9764f51fbfd391868e6e81bf0435a445eb25d07 authored over 2 years ago by Victor Stinner <[email protected]>
Py_IS_TYPE() no longer uses const PyObject* type

Just use "PyObject*" type.

9267d9acaa40f3fbffe9b135c246a49bf5063742 authored over 2 years ago by Victor Stinner <[email protected]>
Add PyCode_GetCode() function (#34)

85d1bd86f56c4ea96f619bd5766f6ebf2d2bbef2 authored over 2 years ago by Victor Stinner <[email protected]>
Add 'Getting Started' guide to README (#33)

Co-authored-by: Victor Stinner <[email protected]>

258f0ebd57040dbac676d5f142bd0aa0708ea6b0 authored over 2 years ago by Erlend Egeberg Aasland <[email protected]>
Fix compatibility with Visual Studio 2013 and older

Fix typo in the PYCAPI_COMPAT_STATIC_INLINE() macro.

c43cea27f6558336ff5a5f602d0ea8710ae989bb authored over 2 years ago by Victor Stinner <[email protected]>
Rename the project to pythoncapi-compat

754a3d5ecc11ef0e9339cec2fffa5c3db97b83fd authored over 2 years ago by Victor Stinner <[email protected]>
Fix negative f_lasti on Python 3.10

4ea0388ef083dfb06fbb66c6b20df25416f2aff2 authored over 2 years ago by Victor Stinner <[email protected]>
Fix PyFrame_GetLasti() on Python 3.10

ed1262e7a4a1ac56a318e2a160f127ce75dc9387 authored over 2 years ago by Victor Stinner <[email protected]>
PyFrame_GetLasti() will be added to Python 3.11.0b1

29368a46fc815e3941da2c9b842886bf4c1e1776 authored over 2 years ago by Victor Stinner <[email protected]>
Add PyFrame_GetLasti() function

dac4f8c9ded2596022bfc52566c35fad6003781a authored over 2 years ago by Victor Stinner <[email protected]>
Add PyFrame_GetBuiltins() functions (#29)

Add PyFrame_GetBuiltins(), PyFrame_GetGlobals() and
PyFrame_GetLocals() functions.

03a483097c378f061867f313b67ef57ef01b0d00 authored almost 3 years ago by Victor Stinner <[email protected]>
New bpo to make PyCodeObject opaque

8ab92fb72d4d6d7a59e643f131d767363954fd0a authored almost 3 years ago by Victor Stinner <[email protected]>
Revert "Issue #21: Avoid C++ keyword `module` (#22)" (#28)

This reverts commit ca6a60ec284484ff4ae0cd12f7e3251afb2f74de.

e137d72d1bec20cf52efe733d9afe8bc858d7fbc authored almost 3 years ago by Victor Stinner <[email protected]>
Add PyFloat_Pack8() (#26)

6d2c96e073bc9dcc9fd090ba195ade42da7a7f18 authored almost 3 years ago by Victor Stinner <[email protected]>
Tests say C or C++

adca68cfed7c9855033643d774cce7588540e02a authored almost 3 years ago by Victor Stinner <[email protected]>
The project moved to https://github.com/python/pythoncapi_compat (#27)

cb764fdec5f89e14c06b26cb3bd4b72da60e1024 authored almost 3 years ago by Victor Stinner <[email protected]>
PYCAPI_COMPAT_CAST(): add parenthesis

179e5343398ba9bfee13c968a8a3c24ef236fbf2 authored almost 3 years ago by Victor Stinner <[email protected]>
Issue #21: Avoid C++ keyword `module` (#22)

ca6a60ec284484ff4ae0cd12f7e3251afb2f74de authored almost 3 years ago by Erlend Egeberg Aasland <[email protected]>
Test Python 3.4 and 3.11 (#24)

f9b9b9dac7834d357e1cbd81b5831ed3eefa1176 authored almost 3 years ago by Victor Stinner <[email protected]>
Fix #19: Change the license from MIT to 0BSD (#20)

ea13e4444eaa3b8245daaca1498b809d70bc34a2 authored almost 3 years ago by Victor Stinner <[email protected]>
Format the API documentation

e16456b5a21e49b8736b699a6fca067491faa51c authored almost 3 years ago by Victor Stinner <[email protected]>
users: +datatable

b0b3ce9cf4b6720bdf89d43050c5eed75b45d1b4 authored almost 3 years ago by Victor Stinner <[email protected]>
Add C++ support (#18)

* pythoncapi_compat.h uses nullptr and reinterpret_cast<> on C++
* Add tests/test_pythoncapi_co...

347746379f79fa091017e23427932c9f9980234d authored almost 3 years ago by Victor Stinner <[email protected]>
Change the Sphinx theme to default

384d3d1348e8da2684b2011141b28dc9cf9f8ee1 authored almost 3 years ago by Victor Stinner <[email protected]>
Update README

1a4b57dd198e759bf643046f25c733754808d9cd authored almost 3 years ago by Victor Stinner <[email protected]>
Add Sphinx documentation

* Remove built-in documentation from upgrade_pythoncapi.py script to
avoid outdated or inconsi...

f18fa79ac49d6daab30e0ce3379e17bec87f509c authored almost 3 years ago by Victor Stinner <[email protected]>
README: add details about the license

fb0042fb81521eee74db8a2fab7198b3f7f6e801 authored almost 3 years ago by Victor Stinner <[email protected]>
README: add pybluez

3af4c0c2d005e4e838627b2757a9e8b0a29adfe6 authored almost 3 years ago by Victor Stinner <[email protected]>
upgrade_pythoncapi.py: log applied operations

68e5c7fddc81c75d882d814459a694cd77420746 authored almost 3 years ago by Victor Stinner <[email protected]>
README: mention guppy3

e563d495b1fb1bcb92089e38108c204d78c33901 authored almost 3 years ago by Victor Stinner <[email protected]>
Fix Python 2.7 compatibility on Windows

359a6804ebdad9a9388736cf19f718d9b148643c authored about 3 years ago by Victor Stinner <[email protected]>
upgrade_pythoncapi: Add operation for latest header download (#15)

fb1c90ddc45d5d1bc14ea5b78a47d21b3c99d7f8 authored about 3 years ago by Dong-hee Na <[email protected]>