Ecosyste.ms: OpenCollective

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

HPy

HPy: a better API for Python
Collective - Host: opensource - https://opencollective.com/hpy - Website: https://hpyproject.org/ - Code: https://github.com/hpyproject/hpy

Simplify the test to make it implementation-independent

github.com/hpyproject/hpy - ce3756ebeba20b4c793cb9f06d18488d58a87ce1 authored over 4 years ago
forgot to add this file earlier

github.com/hpyproject/hpy - deb835e17429c0143b0084b31ff33e59e5b4910a authored over 4 years ago
Merge pull request #55 from pyhandle/misc-functions

Misc functions

github.com/hpyproject/hpy - 43ae8c8c1eebc793369e5dc1136204ce6034ab48 authored over 4 years ago
Test methods a bit more thoroughly

github.com/hpyproject/hpy - 58eb31386cb6da7945030499a0d6ef61ddc0c9ea authored over 4 years ago
(antocuni, arigo) add HPyErr_NoMemory

github.com/hpyproject/hpy - 7666329082e888e98980cf271a9cfce2534a1a91 authored over 4 years ago
(antocuni, arigo) add HPyType_GenericNew

github.com/hpyproject/hpy - d18e1261e19adcf25b996a0113b5e62ccf059a59 authored over 4 years ago
(anto, arigo) HPyNumber_Check()

github.com/hpyproject/hpy - adc1bbb73244e9bbc49d87abd01492368e9d3d5a authored over 4 years ago
HPyLong_From*(), HPy_Hash()

github.com/hpyproject/hpy - 5e1e872da67c168b37ba83cd1d2132017e905559 authored over 4 years ago
HPy_RichCompare, HPy_RichCompareBool

github.com/hpyproject/hpy - 2fcb79bcfbd12aad5b2dc6b6ff944b6ab58bc248 authored over 4 years ago
HPyObject_IsTrue -> HPy_IsTrue

github.com/hpyproject/hpy - 7bfdf2dc259a58ef7e239e59e2d39474eb064f6f authored over 4 years ago
Merge pull request #52 from vytas7/patch-1

One character change in README.md

github.com/hpyproject/hpy - 40586feb771138934fb1b9711ac7898680f69bb7 authored over 4 years ago
One character change in README.md

_Exiting_ might give a different impression, I hope it was meant to be _existing_ :slightly_smil...

github.com/hpyproject/hpy - b4430e14a9c40f25842cd1a87d08cba08fb071a3 authored over 4 years ago
HPy_{Repr,Str,ASCII,Bytes}

github.com/hpyproject/hpy - 5982ee902df7e33671ca4822f5e7afb41d5cf398 authored over 4 years ago
add a few standard types to the ctx

github.com/hpyproject/hpy - dc4e0201868348f7e1c9472cfff05cb97059d6d7 authored over 4 years ago
Add PyModule_AddObject in a skeleton porting guide

github.com/hpyproject/hpy - ed6a3a350d1ca67f1c8abf31491d4ab4424c7334 authored over 4 years ago
Merge pull request #51 from pyhandle/legacy-slots

Legacy slots

github.com/hpyproject/hpy - 79fefc660e82d38d07a9bad5501ab84decdd5979 authored over 4 years ago
(anto, arigo, ronan) support legacy type methods

github.com/hpyproject/hpy - 0e48859f1748cb25dff53e1f8659df85fd948d89 authored over 4 years ago
(anto, arigo, ronan) start to support legacy slots

github.com/hpyproject/hpy - 335d9c322aaddd1f9f18ec735af84803e16c05fb authored over 4 years ago
Merge pull request #50 from pyhandle/reintroduce-hpyobject_head

Reintroduce HPyObject_HEAD

github.com/hpyproject/hpy - 5dc387c70c8b72daab5818fe310da8d93b12c47d authored over 4 years ago
Improve the error checking in case we forget to say HPyObject_HEAD

github.com/hpyproject/hpy - b198eb6312363431d898c88fbc6b7c0bec9317d8 authored over 4 years ago
(antocuni, arigo) fix proof-of-concept

github.com/hpyproject/hpy - 5883091136b047814028921fa27aeb36d26e981e authored over 4 years ago
Merge pull request #49 from pyhandle/feature/warnings-in-tests-are-errors

Turn C warnings into tests into errors

github.com/hpyproject/hpy - 2e67f6afb1cc0623e66133c4605a2791febb57d6 authored over 4 years ago
(antocuni, arigo, ronan) This is probably going to be the HPy commit which was

done at the highest altitude: 3317m, (Teodulo refuge, Italy).

Reintroduce HPyObject_HEAD: this m...

github.com/hpyproject/hpy - 95c78289416ef2660210c617948166796e611095 authored over 4 years ago
Turn C warnings into tests into errors

github.com/hpyproject/hpy - 93e748db13adacb29f0583b7c5894d7bf5466b53 authored over 4 years ago
Merge pull request #48 from rlamy/fix-reindent

Keep test.support py2-compatible

github.com/hpyproject/hpy - b8f0878a6e681aa66d5da04fb2d61f30577e4a0d authored over 4 years ago
Keep test.support py2-compatible: textwrap.indent is py3-only

github.com/hpyproject/hpy - f88a570fb2676a4a72c6905ca454c30a32439c25 authored over 4 years ago
fix test for the new way to put 'defines'

github.com/hpyproject/hpy - cbc2380c842501df03673ea00fdad6d164b4d475 authored over 4 years ago
Merge pull request #47 from pyhandle/autogen-slot-types

Autogen slot types

github.com/hpyproject/hpy - b81352d5c819b4d86a944fe864e2dda659662f22 authored over 4 years ago
add most of the missing HPyFunc_* typedefs, and make autogen

github.com/hpyproject/hpy - 253e1d3319dc20759b83f556c22ac0539733d720 authored over 4 years ago
fix proof-of-concept (oops, sorry)

github.com/hpyproject/hpy - 7edf54d5c554639db881793a2b95bcb5c9cbf858 authored over 4 years ago
do the correct thing if the result is void

github.com/hpyproject/hpy - a20d4849b9a8934a15086d7197efb5e1998e70d1 authored over 4 years ago
change 'defines' from a tail array to a separate array (for future extensibility)

github.com/hpyproject/hpy - 7edc9f54be740d3db2f1bba15deabc84b3a860a8 authored over 4 years ago
(antocuni, arigo) make it possible to write HPyFunc_* signatures without argument names

github.com/hpyproject/hpy - dd82c946c8e4a24effb7d57392a36d76a0e585b1 authored over 4 years ago
add another slot type and add a passing test for sq_item

github.com/hpyproject/hpy - ad95ea4473c7d0958dbf4ab2d44a5375428b5da7 authored over 4 years ago
refactor HPy_CallRealFunctionFromTrampoline to allow variable return types

github.com/hpyproject/hpy - 86e72daabdfa47c10a7b85946a16259af7404e60 authored over 4 years ago
generate cpython's autogen_hpyfunc_trampolines.h

github.com/hpyproject/hpy - 8e0320653f1346ff003741c9cfca751418abff9e authored over 4 years ago
autogen part of the switch statement in ctx_meth.c

github.com/hpyproject/hpy - 4bd25e00dbe379e794dcbd3630d2663ad3994125 authored over 4 years ago
Merge pull request #46 from rlamy/argparse-double

Add 'd' format to HPyArg_ParseItem() and HPyFloat_AsDouble()

github.com/hpyproject/hpy - 377400abd5a156797aac69f3635f5d45dfe41c01 authored over 4 years ago
Generate all the typedefs into common/autogen_hpyfunc_declare.h

github.com/hpyproject/hpy - 9346ea5e21967f56780bae2483128020736b0c7c authored over 4 years ago
Add 'd' format to HPyArg_ParseItem() and HPyFloat_AsDouble()

github.com/hpyproject/hpy - 09c6b72e7b9b316404752bbead33b1343561ab6b authored over 4 years ago
produce autogen_hpyfunc_trampolines.h, for now for unaryfunc and reprfunc

github.com/hpyproject/hpy - e1d718565612041c2a5842fee15e6622d37247ae authored over 4 years ago
Merge pull request #45 from pyhandle/feature/hpyfunc-autogen

Refactor autogen and autogen HPyFunc_DECLARE

github.com/hpyproject/hpy - fbc8bc263537ffd3a7fac3b156f2043f07e32cb9 authored over 4 years ago
Merge pull request #29 from pyhandle/feature/api-discussion-leysin-2020

Document the API design discussion decisions from Leysin 2020

github.com/hpyproject/hpy - ef4faf05cb70084884273568bdff1ae4736707c6 authored over 4 years ago
Merge pull request #42 from pyhandle/feature/hpymeth-refactor

Refactor methods and slots

github.com/hpyproject/hpy - bbbfa98dc1a833cda01ac93ba0b100a04513bbec authored over 4 years ago
include the hypfunc typedefs in public_api.h, and autogen the various _HPyFunc_DECLARE_* macros

github.com/hpyproject/hpy - 847d7f77f9d8e86f04dfa967c2d511207b1aba6e authored over 4 years ago
kill HPyAPI.declarations, as it is no longer needed

github.com/hpyproject/hpy - 218236916bda41216dfd9465e2004e251b68575b authored over 4 years ago
fix the remaining tests

github.com/hpyproject/hpy - 6d4c645970e2d3961a98f0380308677c35d597c5 authored over 4 years ago
fif the tests about autogen_trampolines_h

github.com/hpyproject/hpy - 031872405e6c43c4198052c32fa61afdba8efb94 authored over 4 years ago
fix one test, and improve the error reporting if something if wrong

github.com/hpyproject/hpy - 97d15543207a72ccbd5e3655f11f83ad508364ac authored over 4 years ago
WIP: start to fix the autogen tests after the refactoring

github.com/hpyproject/hpy - ccfad59b3bee6919b0d1834a14b231c36c809c00 authored over 4 years ago
move the pypy-autogen logic in its own file/class

github.com/hpyproject/hpy - e9ef4ebc10c401ce28413d7c9ccfa0fe79fd0279 authored over 4 years ago
make sure to actually WRITE the files, and small tweaks to ensure that we generate the very same files as before

github.com/hpyproject/hpy - aaae438c3bbd70fa6f703b31c2d465336556a405 authored over 4 years ago
autogen_impl_h

github.com/hpyproject/hpy - 6d1b17cb1b0e47296ed053a77a4813185bc048f4 authored over 4 years ago
refactor autogen_trampolines_h

github.com/hpyproject/hpy - 11be89b2fe4b1a1ca4661ee3230988ff8b6e6312 authored over 4 years ago
create a class with the logic for autogen_ctx_def.h

github.com/hpyproject/hpy - 6980f7d77348b2494a3bf16e30c43e1ea83490e1 authored over 4 years ago
move all the remaining logic to generate autogen_ctx.h into the proper class

github.com/hpyproject/hpy - 136e7cc43e616328cb70d4630a62b994d212ec42 authored over 4 years ago
introduce AutoGenFile, to encapslute generated files, and start to move some logic into it

github.com/hpyproject/hpy - ff08708ea1fdfb535e4148e53a5eb161733b0237 authored over 4 years ago
start to divide the parsing logic from the generation logic

github.com/hpyproject/hpy - 0f9eaeb9817b6fbccbc62c86f692a8ba493feee0 authored over 4 years ago
move autogen into its own hpy.tools.autogen package, in prepration for a refactoring

github.com/hpyproject/hpy - 04b88b6f5e324989c8147eba7229b4431f473df0 authored over 4 years ago
refactor _HPy_CallRealFunctionFromTrampoline to have a more generic way to pass arguments: we will need it when we add support for all the zoo of function types used by CPython's slots

github.com/hpyproject/hpy - 538c38c2b111780b15063bf7b0b7378d2825122c authored over 4 years ago
remove leftover

github.com/hpyproject/hpy - c9a42e56740820c4a3134961c704ae1891e694d7 authored over 4 years ago
fix pof.c after the HPyDef refactoring

github.com/hpyproject/hpy - 325ac1cc079beded510de4b8acb2721bde9f79bb authored over 4 years ago
fix test_support

github.com/hpyproject/hpy - b148708de5ec7fddae53de95d5beeae4c6ababd5 authored over 4 years ago
fix test_extern_meth which was broken by the HPyDef refactoring but still passed by chance in the universal case; fix the VARARAGS and KEYWORDS cpython trampolines

github.com/hpyproject/hpy - cf9986d3b4bccb5e0b370a9dcef3b025677b5bfe authored over 4 years ago
We need two distinct implementation of trampolines for the universal and

CPython cases.

- Move the old _HPyFunc_TRAMPOLINE_* into universal/hpyfunc_trampolines.h.

- Ren...

github.com/hpyproject/hpy - 1637c5667a4368392924006307f6be2e14f3572a authored over 4 years ago
WIP: start to fix the CPython-ABI mode which was broken by the latest commits

In particularl, HPyModuleDef and HPyModule_Create are no longer aliases for
PyModuleDef and PyMo...

github.com/hpyproject/hpy - 213c24e294b5c6b09e4dd6cacb7ddbc31ccdf62f authored over 4 years ago
move ctx_module.c to hpy/deve/src/runtime, in preparation to use it in the CPython-ABI mode

github.com/hpyproject/hpy - 8010ae18556906f7d8e5b97e2e06f6804fd5f474 authored over 4 years ago
move hpymodule.h to include/common as well

github.com/hpyproject/hpy - 00ebcc97428acb283ea942b3bc2786bd6ff86f41 authored over 4 years ago
move hpydef.h, hpyfunc.h and typeslots.h into include/common, since they will be used also by the CPython ABI

github.com/hpyproject/hpy - 9d8bc90a593e674b1d10ce299ff03b21149deb19 authored over 4 years ago
rename type.h into hpytype.h

github.com/hpyproject/hpy - 3a1be76f271f96cc9fdb7a0f229e01457c31b39c authored over 4 years ago
use an enum define the various HPy_tp_repr&co. Morever, we can use the same values as CPython again, since there is no longer the risk of mixing legacy and non-legacy methods

github.com/hpyproject/hpy - 8a524329e5f46d29852a1495928360d34de7ebc4 authored over 4 years ago
use a helper function to count the various HPyDef kinds

github.com/hpyproject/hpy - a7545ed0e67b52f8de2c7de5ec193c4072866103 authored over 4 years ago
fix the comments

github.com/hpyproject/hpy - 5c17e44e91a822143bf41400c332203a3757c7c6 authored over 4 years ago
explain the enum{} trick, and use it also for HPyFunc_TRAMPOLINE

github.com/hpyproject/hpy - 4125999b85de5ca5fb18a7b893169bf1b168a472 authored over 4 years ago
introduce HPyDef_SLOT and fix the code to make test_hpytype passing again

github.com/hpyproject/hpy - 24eb19aa02f829ccf11b0efc0c3a22ace04ac015 authored over 4 years ago
WIP: start yet another refactoring, hopefully the last of this kind.

After an IRC conversation with @arigo, we decided to generalize the concept of
HPyMeth/HPySlot: ...

github.com/hpyproject/hpy - b056baf1b4715183bf3dc4b83aeac6608cbde8ec authored over 4 years ago
move all the types&macros related to signatures and trampolines to the new hpyfunc.h

github.com/hpyproject/hpy - d31b63322cbbed9b759660d1ab5a50976ec825bc authored over 4 years ago
make sure to propagate the exception if the initfunc of a module fails

github.com/hpyproject/hpy - 6fbfb7448c2daf250db3e11b60d8a504ed735e39 authored over 4 years ago
make it possible to use 'make debug' to get a -O0 build

github.com/hpyproject/hpy - 3fce467d71041bc5b064eecac8f8dc3ffc66758c authored over 4 years ago
fix test_HPy_New

github.com/hpyproject/hpy - dca8b7e7eab99d9c352d796266c3b1d70ab9ef32 authored over 4 years ago
collect all the "real" methods and put them into a Py_tp_methods slot. test_hpytype:test_tp_methods passes again

github.com/hpyproject/hpy - 7d86dd4f73d3741b318ee02bc453a24cbf7e4975 authored over 4 years ago
WIP: continue the refactoring to unify HPyMeth and HPySlot

- Kill HPySlot and use HPyMeth instead

- rename&adapt HPySlot_DEFINE into HPyMeth_SLOT

- adapt...

github.com/hpyproject/hpy - 3bbb51796e0ef35224376774ac92765b6d1ba7f1 authored over 4 years ago
start to refactor HPyMeth/HPySlot to merge into a single entity: the idea is to have HPyMeth.slot, and use the special value HPy_meth to signal it's a 'normal' method

github.com/hpyproject/hpy - de3ea92fd46c4c9da94b92bd55f7daad688fc5f6 authored over 4 years ago
fix test_support

github.com/hpyproject/hpy - fba5b94503c1c3e9fdacf24797344faf2e928d73 authored over 4 years ago
implement the HPySlot corresponding to tp_new, and make test_hpytype:test_New passing again

github.com/hpyproject/hpy - ba29b050a5b089145b942dce66ac1e27a42b4efd authored over 4 years ago
Implement handling of the slot HPy_tp_methods: test_hpytype:test_tp_methods now passes again

github.com/hpyproject/hpy - 4d3ebbc34d63929e7b069b0eb2a65f6f48b27c92 authored over 4 years ago
start to fix HPyType_FromSpec: following the same style as HPyMeth, we create an HPySlot which contains both the trampoline and the impl, and use HPySlot_DEFINE to generate the trampoline

github.com/hpyproject/hpy - 6df9a5515bb6607e2dcd1cae21ebaf7c61fb936d authored over 4 years ago
Re-add support for writing "old-style" methods, by setting HPyModuleDef.legacy_methods

github.com/hpyproject/hpy - e1a5d1cafb1eb11c8ff3a996857880d8bf431605 authored over 4 years ago
now we can use the proper type for HPyMeth.cpy_trampoline

github.com/hpyproject/hpy - 4e88f512edcf78b4aa924272aa01e755558850c0 authored over 4 years ago
introduce a typedef for cpy_PyObject and use it everywhere instead of struct _object. It looks much better and easier to understand to me

github.com/hpyproject/hpy - f88370967a501beae8b6e2987589806e1929f868 authored over 4 years ago
fix this test: now HPy_METH_DECL is no longer needed, it is enough to use a normal extern declaration

github.com/hpyproject/hpy - ce82be28db5aa693ec7ebc8d04af2fb91d6e5dd5 authored over 4 years ago
implement HPyMeth_KEYWORDS

github.com/hpyproject/hpy - eb6521321ac5763e2537e1c1d7fc5d0cc50dc259 authored over 4 years ago
implement HPyMeth_VARARGS

github.com/hpyproject/hpy - 04353dd55273c89439aeb7d27d977bc92ed2d20a authored over 4 years ago
implement HPyMeth_DEFINE(..., HPyMeth_O)

github.com/hpyproject/hpy - a4aaf92de7c73e5cec0339d05ba0643a29cb500e authored over 4 years ago
tweak the syntax for HPyMeth_DEFINE: I think it is much clearer to specify HPyMeth_NOARGS (which is a constant) instead of simply NOARGS (which is... nothing), even it it makes the internal macros more verbose

github.com/hpyproject/hpy - f94acd62692f31a0b898cf4eb506c2de46341f05 authored over 4 years ago
replace all the HPy_DEF_METH_* and @EXPORT inside tests with the new syntax

github.com/hpyproject/hpy - 99fdbfd54b75846fa50f7bb23159f038ecc7dcb9 authored over 4 years ago
WIP: break the world and start to refactor HPyMeth as discussed on the mailing list

- rename HPyMethodDef into HPyMeth, and add a field to store the CPython
trampoline

- create ...

github.com/hpyproject/hpy - ebfb01a971a48a0d2f4eeb0b1ea9fd7e778248a3 authored over 4 years ago
Merge pull request #41 from Julian/Julian-patch-1

Tiny grammar improvement in the "What does HPy mean?" title.

github.com/hpyproject/hpy - be4eba1da79777d19167aa0b636e0b36e3624f7b authored over 4 years ago
Massively impactful one character change

(Minor grammar)

github.com/hpyproject/hpy - c69ed700601042814a4217061e1aa212326198f7 authored over 4 years ago
Fixed #40: suppress the warning in the normal usage of HPy_New

Now HPy_New is a macro around _HPy_New, with some complicated logic to emit an
error if you pass...

github.com/hpyproject/hpy - 80ff5cce3f4136a7ffb593f674eefe9ba60bbfbd authored over 4 years ago