Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hpyproject/hpy
HPy: a better API for Python
https://github.com/hpyproject/hpy
Use _PyObject_Vectorcall on Python 3.8
103777449fc8348c6f171dcf2fcad1f462e84da4 authored almost 2 years ago
103777449fc8348c6f171dcf2fcad1f462e84da4 authored almost 2 years ago
Give hint to infer that kwnames != NULL
6588d87ff28d93ff82387ac0bdcb06954719a544 authored almost 2 years ago
6588d87ff28d93ff82387ac0bdcb06954719a544 authored almost 2 years ago
Write doc for HPy_Call, HPy_CallMethod, and HPy_CallTupleDict.
88ad09f0b29169040a8b0c390a779258087b7596 authored almost 2 years ago
88ad09f0b29169040a8b0c390a779258087b7596 authored almost 2 years ago
Add tests for HPy_Call(Method)VectorDict
5d0a9315efafaed2043a6693c8f33f4d05a3ed79 authored almost 2 years ago
5d0a9315efafaed2043a6693c8f33f4d05a3ed79 authored almost 2 years ago
Update tests for HPy_Call and HPy_CallMethod
e3c8a2d6ad56e0247ec82f55819a5c9313d6b6da authored almost 2 years ago
e3c8a2d6ad56e0247ec82f55819a5c9313d6b6da authored almost 2 years ago
Rename HPy_Call(Method)VectorDict to HPyCall(Method) and use HPy calling convention
b6b55db75dababc71bbb6091122edb058f521256 authored almost 2 years ago
b6b55db75dababc71bbb6091122edb058f521256 authored almost 2 years ago
Add tests for HPy_CallMethodTupleDict
262f29f7af13555cad337a4b83d8d0cc3841a7a3 authored almost 2 years ago
262f29f7af13555cad337a4b83d8d0cc3841a7a3 authored almost 2 years ago
Add API functions HPy_CallVectorDict and HPy_CallMethodVectorDict
9d2f314d35f5da830d0d892b50645142ac8a9e3a authored almost 2 years ago
9d2f314d35f5da830d0d892b50645142ac8a9e3a authored almost 2 years ago
Add inline helper functions HPy_CallMethodTupleDict(_s)
e472f0fd1c21a564140f5f63aa25e7ddd3813d7d authored almost 2 years ago
e472f0fd1c21a564140f5f63aa25e7ddd3813d7d authored almost 2 years ago
Merge pull request #390 from fangerer/fa/vectorcall
Introduce HPy call protocol
3da37d6119c54ef088682793cd9ca0213e188ed7 authored almost 2 years ago
Rename 'callable' to 'self' in docs example
00fef375623432a1882c098061a08cd5f61e238d authored almost 2 years ago
00fef375623432a1882c098061a08cd5f61e238d authored almost 2 years ago
Merge pull request #424 from Starbuck5/typos
Typo fixes (suggested by codespell)
8c2d7edfde39be0d9934bb5b3e86cb5a46520551 authored almost 2 years ago
Typo fixes (suggested by codespell)
9c1e8be8ef9033545b584da60ae609e9a2054d9f authored almost 2 years ago
9c1e8be8ef9033545b584da60ae609e9a2054d9f authored almost 2 years ago
Merge pull request #423 from hpyproject/timfel/update-graalpy-name
Update the name of the Graal Python implementation.
47653b6ee0dd2d622e9a0438a1e8b5540fabbf3b authored almost 2 years ago
Update the name of the Graal Python implementation
af9bab157dbbd00554ff7524a641b1565c390394 authored almost 2 years ago
af9bab157dbbd00554ff7524a641b1565c390394 authored almost 2 years ago
Align signature of HPyFunc_VARARGS to HPyFunc_KEYWORDS
a0458fdf14622f58303479b4697e1610b0f210de authored almost 2 years ago
a0458fdf14622f58303479b4697e1610b0f210de authored almost 2 years ago
Add doc for HPyDef_CALL_FUNCTION
a69ff3c8b07f55c5bc9cb090c041a85519281f8c authored almost 2 years ago
a69ff3c8b07f55c5bc9cb090c041a85519281f8c authored almost 2 years ago
Include added API in docs
ecc13aaab150f0e1a226b4b4670a310b52f0e74f authored almost 2 years ago
ecc13aaab150f0e1a226b4b4670a310b52f0e74f authored almost 2 years ago
Add section about HPy call protocol to porting guide
78bf1cddd43443d3f880619f5560279f0a431c65 authored almost 2 years ago
78bf1cddd43443d3f880619f5560279f0a431c65 authored almost 2 years ago
Provide helper to convert from HPy calling convention to legacy
3b5f72795df072dde191968061cffee3ff9e760b authored almost 2 years ago
3b5f72795df072dde191968061cffee3ff9e760b authored almost 2 years ago
Update tests/docs using HPyArg_ParseKeywords
b9a3baf1309f7cd2531520705b9e536bc07170e8 authored almost 2 years ago
b9a3baf1309f7cd2531520705b9e536bc07170e8 authored almost 2 years ago
Migrate HPyArg_ParseKeywords to new keywords calling convention
08592bea35f513a2cadeabfdc01d4e8d90e652de authored almost 2 years ago
08592bea35f513a2cadeabfdc01d4e8d90e652de authored almost 2 years ago
Implement HPyFunc_KEYWORDS with METH_FASTCALL|METH_KEYWORDS
af5aa8f05adb134431db164f4c71dd751fbc1d05 authored almost 2 years ago
af5aa8f05adb134431db164f4c71dd751fbc1d05 authored almost 2 years ago
Ensure aligned (hidden) vectorcall field
4226d81aeb4bc728bc451b8deb83505a1f4f7314 authored almost 2 years ago
4226d81aeb4bc728bc451b8deb83505a1f4f7314 authored almost 2 years ago
Remove MAX_ALIGN_T; directly use _HPy_MaxAlign_t
ee39252aa6873f730938173f61ccf8c6d286f6ad authored almost 2 years ago
ee39252aa6873f730938173f61ccf8c6d286f6ad authored almost 2 years ago
Migrate tests using HPy_tp_call
57312d6782aa5d3a3048aa9c3ea76fe60b53bb0b authored almost 2 years ago
57312d6782aa5d3a3048aa9c3ea76fe60b53bb0b authored almost 2 years ago
Reject using HPy call protocol for legacy types with basicsize==0
4989ee6f1ca3fcd98d2bfab60c177aec367fc692 authored almost 2 years ago
4989ee6f1ca3fcd98d2bfab60c177aec367fc692 authored almost 2 years ago
Satisfy infer analyzer
6b091cdb98f8575ed66e4b013fd6cd47ff333df8 authored almost 2 years ago
6b091cdb98f8575ed66e4b013fd6cd47ff333df8 authored almost 2 years ago
Add sanity check for basicsize
86c604df8fbcdb00d75070b67ad13d1163ce14ab authored almost 2 years ago
86c604df8fbcdb00d75070b67ad13d1163ce14ab authored almost 2 years ago
Various minor cleanups
7d0300bc530deba9bde3d6b4551b3a59d7a8b304 authored almost 2 years ago
7d0300bc530deba9bde3d6b4551b3a59d7a8b304 authored almost 2 years ago
Add test for using legacy way of implementing vectorcall protocol
03bf11777cbbcdf40b7289a3eb3cd3a380ee4493 authored almost 2 years ago
03bf11777cbbcdf40b7289a3eb3cd3a380ee4493 authored almost 2 years ago
Add test: no default vectorcall function for var objects
9715ac0e59795b28e020ca31d2c0ac2dc5541c40 authored almost 2 years ago
9715ac0e59795b28e020ca31d2c0ac2dc5541c40 authored almost 2 years ago
Introduce HPyVectorcall_Set
25838fffd1302a77b092d9fc9fa0dbe5436c9c45 authored almost 2 years ago
25838fffd1302a77b092d9fc9fa0dbe5436c9c45 authored almost 2 years ago
Add/update vectorcall tests
04d217110d32e0888d17d5b0696c409ceb4bea90 authored almost 2 years ago
04d217110d32e0888d17d5b0696c409ceb4bea90 authored almost 2 years ago
Automatically set tp_call if not provided
39d1839ff68f6e9fd143a2e38df00be03a626cd2 authored almost 2 years ago
39d1839ff68f6e9fd143a2e38df00be03a626cd2 authored almost 2 years ago
Rename HPyVectorcall_Set to HPy_SetCallFunction
6b37f4637899e6d358a969443dec08403c4992ae authored almost 2 years ago
6b37f4637899e6d358a969443dec08403c4992ae authored almost 2 years ago
Fix: set flag _Py_TPFLAGS_HAVE_VECTORCALL if member '__vectorcalloffset__' was specified
e535b8056d093c3658c5a11022f1d1f06107ea7b authored almost 2 years ago
e535b8056d093c3658c5a11022f1d1f06107ea7b authored almost 2 years ago
Handle interaction between HPy_tp_call and member '__vectorcalloffset__'
88b1c447367db6d342dfbcb8fa0327b980477db4 authored almost 2 years ago
88b1c447367db6d342dfbcb8fa0327b980477db4 authored almost 2 years ago
Rename _HPy_set_vectorcall_default to _HPy_vectorcall_init
d7896b98cea577d38e72ed734373e2f65b0b3caf authored almost 2 years ago
d7896b98cea577d38e72ed734373e2f65b0b3caf authored almost 2 years ago
Remove HPy_VECTORCALL_ARGUMENTS_OFFSET
f78ea09b3009b78768825e518b62be150d379e75 authored almost 2 years ago
f78ea09b3009b78768825e518b62be150d379e75 authored almost 2 years ago
Align signatures of HPyFunc_newfunc and HPyFunc_initproc
b86b34912b4c58dafe02322f97cc931595056c6e authored almost 2 years ago
b86b34912b4c58dafe02322f97cc931595056c6e authored almost 2 years ago
Add tests for HPyVectorcall_Set
6f61d3c4a31f2591ca2d3652a34fb53a977cdee7 authored almost 2 years ago
6f61d3c4a31f2591ca2d3652a34fb53a977cdee7 authored almost 2 years ago
Update proof-of-concept to new keywords calling convention
57792a18b3bcd87698adae9c9f145f9cdd070b3e authored almost 2 years ago
57792a18b3bcd87698adae9c9f145f9cdd070b3e authored almost 2 years ago
Implement HPy calls with vectorcall (make it the default)
5f05bab95fb2422cbafc491b752c8d5c25b02797 authored almost 2 years ago
5f05bab95fb2422cbafc491b752c8d5c25b02797 authored almost 2 years ago
Reject auto-generating conversion of unknown types
6fdf5e67a4223efbae06ea59e781654cf545906b authored almost 2 years ago
6fdf5e67a4223efbae06ea59e781654cf545906b authored almost 2 years ago
Introduce sig HPyFunc_NEWFUNC and use it for slot HPy_tp_new
ee5151768c9204f1480e08bf400c34ea0a52db69 authored almost 2 years ago
ee5151768c9204f1480e08bf400c34ea0a52db69 authored almost 2 years ago
Add test for HPyArg_ParseKeywordsDict
f32a4186dadca9c05095deb16980b0bb9d67e76a authored almost 2 years ago
f32a4186dadca9c05095deb16980b0bb9d67e76a authored almost 2 years ago
Introduce slot HPy_tp_vectorcall_default
386de46ebc20f2aa6d6994327fb66f8148958597 authored almost 2 years ago
386de46ebc20f2aa6d6994327fb66f8148958597 authored almost 2 years ago
Rename and move HPyType_VECTORCALL
2a8cedffcfd9dd17669ad2acd1eff21928bdef72 authored almost 2 years ago
2a8cedffcfd9dd17669ad2acd1eff21928bdef72 authored almost 2 years ago
Wrap inherited tp_new to set default vectorcall function
ac119859d722ff640e5f5faade008ef24b2ffbd4 authored almost 2 years ago
ac119859d722ff640e5f5faade008ef24b2ffbd4 authored almost 2 years ago
Remove helper macro HPyDef_VECTORCALL_OFFSET
cf94dbc4f422207e301e5cbcc38f9354d1491e25 authored almost 2 years ago
cf94dbc4f422207e301e5cbcc38f9354d1491e25 authored almost 2 years ago
Set default vectorcall function in HPy_New
249228a14e1c8154f31fd865290f1c36df7c3d08 authored almost 2 years ago
249228a14e1c8154f31fd865290f1c36df7c3d08 authored almost 2 years ago
Support vectorcall protocol on Python 3.8
06b4dc62509e5735eefaafd3bae919b084015df0 authored almost 2 years ago
06b4dc62509e5735eefaafd3bae919b084015df0 authored almost 2 years ago
Add test for vectorcall
53ecb094e6972c1f025bb915a79757472070a6b6 authored almost 2 years ago
53ecb094e6972c1f025bb915a79757472070a6b6 authored almost 2 years ago
Add initial support for the vectorcall protocol
c730af6433fe997d15d333199ec7dc5adfc13116 authored almost 2 years ago
c730af6433fe997d15d333199ec7dc5adfc13116 authored almost 2 years ago
Support type slot tp_call
38dda51a8de8a5dda3497ca63c2583a14679ab33 authored almost 2 years ago
38dda51a8de8a5dda3497ca63c2583a14679ab33 authored almost 2 years ago
Merge pull request #415 from fangerer/fa/structseq
Add struct sequence API as HPy helpers.
ecc2cb2af0119dfd9ff9c38dcbc210298a45c4c9 authored almost 2 years ago
Merge pull request #418 from paugier/doc-fix-rst-variables
Fix rst variables written in md style (as ``foo``).
917130f6d29601387311de7bd8ac3825339678dd authored almost 2 years ago
Fix rst variables written in md style (as `foo`)
0f800801ae9bf50a15a04ceeca03dd3edb03ddf4 authored almost 2 years ago
0f800801ae9bf50a15a04ceeca03dd3edb03ddf4 authored almost 2 years ago
Fixup for PR #416; mark ctx arg as unused
4c5f6f19ebb28235a86c247553b1b20693643b27 authored almost 2 years ago
4c5f6f19ebb28235a86c247553b1b20693643b27 authored almost 2 years ago
Introduce macro _HPy_UNUSED_ARG
215506d71bab69d13444a36fe1a3abe4c810d2af authored almost 2 years ago
215506d71bab69d13444a36fe1a3abe4c810d2af authored almost 2 years ago
Revert "Expose buildvalue_single to other helper functions"
This reverts commit aa61769ae84f5dcfc0f52c7f9e1baba73a5b8551.
5c29be0ab532f411353f41c3dae8367805bee888 authored almost 2 years ago
Remove HPyStructSequence_NewFromFormat
b6f296b38f15d9594ab8b9ccbdfa94fdf3ee3308 authored almost 2 years ago
b6f296b38f15d9594ab8b9ccbdfa94fdf3ee3308 authored almost 2 years ago
Fix: use of uninitialized var
8dc1bcf22406c6577bae8d59cfd23120ccac7702 authored almost 2 years ago
8dc1bcf22406c6577bae8d59cfd23120ccac7702 authored almost 2 years ago
Address review comments for docs
f818e27cb6782524c03c7c199f1c360b33580791 authored almost 2 years ago
f818e27cb6782524c03c7c199f1c360b33580791 authored almost 2 years ago
Fixes for Windows
1f1081abf1f5bb02c0651e1a138886dba7a67aa5 authored almost 2 years ago
1f1081abf1f5bb02c0651e1a138886dba7a67aa5 authored almost 2 years ago
Fix memleak in error case
f65080377170ad4206e81fce5dcdba496db0cb58 authored almost 2 years ago
f65080377170ad4206e81fce5dcdba496db0cb58 authored almost 2 years ago
Fixes for Python 3.8 and earlier
98e888131ebfe0b09c6564aa2f0496b4a09c3506 authored almost 2 years ago
98e888131ebfe0b09c6564aa2f0496b4a09c3506 authored almost 2 years ago
Update test_hpystructseq.py
d83e400860818441fcce3d905080b35ae24587da authored almost 2 years ago
d83e400860818441fcce3d905080b35ae24587da authored almost 2 years ago
Remove structseq builder; initialize structseq from array; introduce HPyStructSequence_NewFromFormat
081df1049f0234548475f80bf703d976fd11d599 authored almost 2 years ago
081df1049f0234548475f80bf703d976fd11d599 authored almost 2 years ago
Expose buildvalue_single to other helper functions
aa61769ae84f5dcfc0f52c7f9e1baba73a5b8551 authored almost 2 years ago
aa61769ae84f5dcfc0f52c7f9e1baba73a5b8551 authored almost 2 years ago
Minor doc fix in format.c
d9c0ce0af1d4de4e23a2c4d36fa727cedb77c6ab authored almost 2 years ago
d9c0ce0af1d4de4e23a2c4d36fa727cedb77c6ab authored almost 2 years ago
Add tests for structseq
6ba8c1f8c7cbcf3332a377baf617deef1821ca3f authored almost 2 years ago
6ba8c1f8c7cbcf3332a377baf617deef1821ca3f authored almost 2 years ago
Little doc improvements for HPy_BuildValue
6b2c85c0ab9f3487d9a2f91601f847743adc8239 authored almost 2 years ago
6b2c85c0ab9f3487d9a2f91601f847743adc8239 authored almost 2 years ago
Add struct sequence helper API
1833b0dec90b8dbfbda348c324feea72891a00af authored almost 2 years ago
1833b0dec90b8dbfbda348c324feea72891a00af authored almost 2 years ago
Merge pull request #416 from fangerer/fa/slice_unpack_adjustindices
Introduce HPySlice_Unpack and HPySlice_AdjustIndices.
b8a6a2d0e5660b7e8d18d18d1f3ebe30fcb2ebd9 authored almost 2 years ago
Use consistent return type for ctx_ContextVar_Get
b8de2404d952265eb52416c0bcf0e241563ff151 authored almost 2 years ago
b8de2404d952265eb52416c0bcf0e241563ff151 authored almost 2 years ago
Fix: add missing NULL terminator in test template
b3d4344bd28956aa86a44830946f76cfdd0b3436 authored almost 2 years ago
b3d4344bd28956aa86a44830946f76cfdd0b3436 authored almost 2 years ago
Add test for HPySlice_Unpack
f0b443eb1d881c96767a6d60cc4812b0845b1d02 authored almost 2 years ago
f0b443eb1d881c96767a6d60cc4812b0845b1d02 authored almost 2 years ago
Implement format specifier 'n' (HPy_ssize_t) in HPy_BuildValue
c32e6e46339b576b53c6f3889423a35d04def41c authored almost 2 years ago
c32e6e46339b576b53c6f3889423a35d04def41c authored almost 2 years ago
Fix caption level in contributing docs
b096fd0c2cba9629d464011a157f0e45bcd7de01 authored almost 2 years ago
b096fd0c2cba9629d464011a157f0e45bcd7de01 authored almost 2 years ago
Add test for HPySlice_AdjustIndices
f7e560ae59ec298f079deff6c80adca5020f70f8 authored almost 2 years ago
f7e560ae59ec298f079deff6c80adca5020f70f8 authored almost 2 years ago
Introduce inline helper HPySlice_AdjustIndices
280dca03c1311c7003b7395493cf22b5ee94309a authored almost 2 years ago
280dca03c1311c7003b7395493cf22b5ee94309a authored almost 2 years ago
Minor fixes for Python 3.12
365313065b7ea7a987dca4c3aaa9085857106550 authored almost 2 years ago
365313065b7ea7a987dca4c3aaa9085857106550 authored almost 2 years ago
Introduce HPySlice_Unpack
014588a3c54315909f59dbc679e7c0cfa5e297a2 authored almost 2 years ago
014588a3c54315909f59dbc679e7c0cfa5e297a2 authored almost 2 years ago
Merge pull request #414 from fangerer/fa/remove-3.7
Remove support for Python 3.7.
451b30da67cc807e01f1053d2e35c64b56486ffd authored almost 2 years ago
Bump Python requirement to >=3.8
90ce7c463a89128f7d0e18de3b0bb0d307796f15 authored almost 2 years ago
90ce7c463a89128f7d0e18de3b0bb0d307796f15 authored almost 2 years ago
Fix wrong mentioning of Python 3.7 in docs
df5c6a7f7256dc149b876d8f56aa04b426e4767f authored almost 2 years ago
df5c6a7f7256dc149b876d8f56aa04b426e4767f authored almost 2 years ago
Remove code specific for Python 3.7
5b026757fc3957c3605e0497968bbbac55ba54f7 authored almost 2 years ago
5b026757fc3957c3605e0497968bbbac55ba54f7 authored almost 2 years ago
Remove Python 3.7 from CI
cc3fffb2b377e415d340df48503ca35ee733564c authored almost 2 years ago
cc3fffb2b377e415d340df48503ca35ee733564c authored almost 2 years ago
Merge pull request #395 from fangerer/fa/cppcheck
Fix and re-enable cppcheck
6b54518266a2b857f42712838db797d75aa9f7f2 authored almost 2 years ago
Fix versions of runner image and cppcheck
30e529261ec4b3b4222c1f6b2abd1d8dba927b55 authored almost 2 years ago
30e529261ec4b3b4222c1f6b2abd1d8dba927b55 authored almost 2 years ago
Fix cppcheck errors/warnings
3f75538f8d81111a17de0b476bbecf775a0a5f4f authored almost 2 years ago
3f75538f8d81111a17de0b476bbecf775a0a5f4f authored almost 2 years ago
Re-enable cppcheck
7d206e2e48635262ddddc58018b52e2c890c8aaf authored almost 2 years ago
7d206e2e48635262ddddc58018b52e2c890c8aaf authored almost 2 years ago
Add missing include paths to cppcheck
198b2095de52511c8e5dfd739ec627245edf387f authored almost 2 years ago
198b2095de52511c8e5dfd739ec627245edf387f authored almost 2 years ago
Merge pull request #413 from mattip/skip-cppcheck
skip cppcheck
0c78f9f1a558d19f2270afbbd00c576fd058cade authored almost 2 years ago
Merge pull request #411 from hpyproject/fa/unicode_fromecoded_substring
Introduce HPyUnicode_FromEncodedObjec, HPyUnicode_Substring, HPyDict_Keys, and HPyDict_Copy.
cdf9e3e80200a988a91eeb0a8a2dae9469598728 authored almost 2 years ago
Add test for HPyDict_Copy
1c126cd351781e6f4830e1257b554eaa481f023e authored almost 2 years ago
1c126cd351781e6f4830e1257b554eaa481f023e authored almost 2 years ago
Introduce HPyDict_Keys
566748e9a36c83e4c6e5eeab467ea49003a0d86f authored almost 2 years ago
566748e9a36c83e4c6e5eeab467ea49003a0d86f authored almost 2 years ago
Add test for HPyDict_Keys
595de8d9c063a514ce63af60ba1d8934460672cc authored almost 2 years ago
595de8d9c063a514ce63af60ba1d8934460672cc authored almost 2 years ago