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

Merge pull request #22 from pyhandle/feature/add-custom-type-to-poc

Implement types

* Introduce the new struct HPyType_Spec
* Introduce HPyType_FromSpec, HPy_CA...

github.com/hpyproject/hpy - 5bca3a13b92b8927a18e112f45bc053c75cf362c authored over 4 years ago
write a manual version of the trampoline which addresses one comment in the review

github.com/hpyproject/hpy - 1396a4a6f52929dbd81c40b62fa8337b521c169e authored over 4 years ago
after reading the CPython source code, I conclude that it does not internally store any reference to spec or to spec->slots, so we should free them

github.com/hpyproject/hpy - 34c0939f2d7bf353637ce406606f4c72f6901b77 authored over 4 years ago
Rename src/runtime/type.c into ctx_type.c

* Before this commit, we had include/common/type.h and
include/common/runtime/type.h. Rename t...

github.com/hpyproject/hpy - fcb74a1ebce268f797a265b4b7a70d9f789302a1 authored over 4 years ago
Implement HPy_New and _HPy_Cast for CPython ABI.

Now test_hpytype.py fully passes! :)

github.com/hpyproject/hpy - 262db0ec672979e8b01f76dc8e9404996685abab authored over 4 years ago
test_slots[cpython] and test_tp_methods[cpython] pass!

Implement HPyType_Slot -> PyType_Slot copy in the CPython ABI mode

github.com/hpyproject/hpy - eeea7958d4c17573ea12241f41160ee31e75a703 authored over 4 years ago
WIP: test_simple_type[cpython] finally pass!

* Move the definition of HPyType_Spec in common/type.h, because now it will be
used also by th...

github.com/hpyproject/hpy - d8cf85bf96464fffcdd29d776017754c29ccd96c authored over 4 years ago
move runtime.h into runtime/argparse.h (side by side with runtime/type.h). I think it's better to have a header file for each .c file, instead of a big giant header for the whole directory

github.com/hpyproject/hpy - 3ee3b6ec94fa5deadc42314acea33cf3ce354cd1 authored over 4 years ago
move ctx_type.c from hpy/universal/src into hpy/devel/src/runtime, because this code will be used also by the CPython ABI mode

github.com/hpyproject/hpy - fc8822256f37b0c153f2f7a96137507a4f78f40e authored over 4 years ago
move create_method_defs from ctx_module.c to ctx_type.c, since the latter will be moved to devel/runtime

github.com/hpyproject/hpy - 58e4bc2514c29d22b9f2ad04b30e7b9d80ad0170 authored over 4 years ago
the 3rd field of HPyType_Slot is not a pointer; this silences a warning

github.com/hpyproject/hpy - 85b71842c6ce3e6e0700164f38ba8115e38effd4 authored over 4 years ago
use an anonymous union: this way it is clearer that payload is the only field which is supposed to be used

github.com/hpyproject/hpy - 458aff21394e81dcd26abb9a26a808133c46c570 authored over 4 years ago
implement HPy_New for the universal ABI. The CPython ABI case is still not implemented.

github.com/hpyproject/hpy - 4b58d07d4e30a555d6a6cde88ca4c30296697b0d authored over 4 years ago
rename api.c into ctx.c, which is more appropriate now

github.com/hpyproject/hpy - dfa18b30381368fa26a2ca3264ac10d962cceb79 authored over 4 years ago
move the last remaining bits of api.c into ctx_misc.c

github.com/hpyproject/hpy - 03c9dcd736d4e363b0dd28ac6d39df324f463316 authored over 4 years ago
move some code from api.c to ctx_type.c

github.com/hpyproject/hpy - 3d3d7de32ae093e455677e9e4faa0fcae51e69ee authored over 4 years ago
move some code from api.c to ctx_meth.c

github.com/hpyproject/hpy - 0cbb21598a9b837ace28057608565f988d2d2012 authored over 4 years ago
add a proper header file for handles.c, instead of defining things in api.h

github.com/hpyproject/hpy - 66da2b9eb3abee2779db671ab0f550d07b242466 authored over 4 years ago
start to split api.c into multiple files, because it is quickly becoming too big to be manageable

github.com/hpyproject/hpy - c5984f083b20d0e6155bd3c8eab411ebe1225dac authored over 4 years ago
kill HPyObject_HEAD. As discussed on IRC, users will have to use PyObject_HEAD ONLY in the hybrid ABI mode, and only if they want to support legacy methods

github.com/hpyproject/hpy - 0f724a15ba1ac174e0b72c213a4f781f1c845e87 authored over 4 years ago
add support for Py_tp_methods

github.com/hpyproject/hpy - b4b881615103433900148bbc491ce91ffd24e8a4 authored over 4 years ago
git merge master

github.com/hpyproject/hpy - e3f35dfb47cb7bf84b3d86631189d90afb602f81 authored over 4 years ago
add a test to call simple slots on a type, and implement HPyType_FromSpec correctly for the universal case

github.com/hpyproject/hpy - 7d8563e75c724cfce7c5af8c6ead34b519302ace authored over 4 years ago
fix test_expand_template

github.com/hpyproject/hpy - 20a48ee64936ad03f79a9b483fa90dc05f5a6365 authored over 4 years ago
progress towards fixing test_pof. Now it aborts inside HPy_New

github.com/hpyproject/hpy - 0f989f823ba260a8eee607ef660a579c8637fd0d authored over 4 years ago
rename HPy_Dummy into DummyObject, which is more consistent with the existing naming convention; improve a bit the test

github.com/hpyproject/hpy - 8d3aad4d94ee701f929534670f0b36e2d7f71ea9 authored over 4 years ago
implement @EXPORT_TYPE to greatly reduce the amount of boilerplate that we need to write for test_simple_type

github.com/hpyproject/hpy - 1a4fe7ca021377dc48beae931b0a1f247311d234 authored over 4 years ago
improve ExtensionTemplate: now it is possible to easily define new @COMMAND macros, using a syntax similar to function calls. Adapt all the existing code to use the new syntax for @EXPORT

github.com/hpyproject/hpy - b32efae139e415dc9b78b547975f8a2366b7730c authored over 4 years ago
refactor expand_template into a class, so that it's easier to extend with new features

github.com/hpyproject/hpy - e952dbf044f0521b24d8a5ef4f38b2f0b80e708f authored over 4 years ago
implement HPyType_FromSpec for both cpython and universal

github.com/hpyproject/hpy - 07ba4b6efa36ca67e1e44347672ccec9dff55e67 authored over 4 years ago
rename this file for consistency with the other test_hpy*.py files, and fix indentation

github.com/hpyproject/hpy - df2701cf6a5e1eb8f231c4146161fad821682dff authored over 4 years ago
Partially revert commit d860ac677f0feafff2a754d97e1796ff8049411e "fix autogen

so that it works also for functions returning void*"

It turns out that the old code works, as lo...

github.com/hpyproject/hpy - 09411973c0c410b106c40979249d88f4fa7da0f2 authored over 4 years ago
don't autogen HPyType_FromSpec: we need to write it manually since HPyType_Spec is NOT a just typedef for the CPython equivalent

github.com/hpyproject/hpy - d4d5941009140b10f5c28439c7dc8a469ab2fecb authored over 4 years ago
the implementation of HPy_New cannot be automatically generated; add a dummy one for now, so that compilation works again at least

github.com/hpyproject/hpy - bdeb552a8beebbe8838bb2ff368394b7022aa2cf authored over 4 years ago
fix autogen so that it works also for functions returning void*

github.com/hpyproject/hpy - d860ac677f0feafff2a754d97e1796ff8049411e authored over 4 years ago
comment out this code for now: it's clearly not tested and doesn't compile

github.com/hpyproject/hpy - 7d447a7c7df275153a915162718d7fc46c261a26 authored over 4 years ago
Merge pull request #38 from ammaraskar/patch-1

Add link to documentation in README

github.com/hpyproject/hpy - e5366f846c5747635944f86220717cd30bc93dcf authored over 4 years ago
Add link to documentation in README

github.com/hpyproject/hpy - 0b63194e20206b5bf1816bb0bc2043572089f402 authored over 4 years ago
Merge pull request #36 from pyhandle/feature/tiny-api-doc-fixes

Small tweaks to API docs.

github.com/hpyproject/hpy - 9595fc4d8482297f4f8a79e97b43aa99c56582db authored over 4 years ago
Small tweaks to API docs.

github.com/hpyproject/hpy - 536cdd0a7abfb9933d16ff8d61f100794fb80a64 authored over 4 years ago
Merge pull request #35 from pyhandle/feature/tiny-doc-fixes

Tiny doc fixes

github.com/hpyproject/hpy - ee2399cefeed337d430ce9d77a230f71aac3df07 authored over 4 years ago
Minor tweaks to overview.

github.com/hpyproject/hpy - d1bf546fb212b9e5be83db628e514a4c0a948838 authored over 4 years ago
Remove unnecessarily specific Python reference and tweak slightly odd grammar.

github.com/hpyproject/hpy - f1faa1cee3459de21726c7a1b577b4c31c8e82dc authored over 4 years ago
Fix typo in 'invalid'.

github.com/hpyproject/hpy - 260d2598844d5c1dd3fe9ad35b7f1108466a1dc4 authored over 4 years ago
Merge pull request #33 from pyhandle/feature/api-docs

API docs

github.com/hpyproject/hpy - afe057b57fcf5dc3b92c78f0ab306b1939d79ba1 authored over 4 years ago
incorporate another review

github.com/hpyproject/hpy - ca3b3afe8a2f8daf0c29935c680df1d645135885 authored over 4 years ago
integrate some suggestions from the PR review

github.com/hpyproject/hpy - 278ffa40877956a2b5a58a4037cc0003e8f133ca authored over 4 years ago
Apply suggestions from code review

Co-authored-by: Ammar Askar <[email protected]>

github.com/hpyproject/hpy - 11a0ec815ee73323f66e904d7e13e87839f76515 authored over 4 years ago
use a more generic variant, so that we can run the tests unmodified also on PyPy

github.com/hpyproject/hpy - a2f3e78a76ef088b9b48604cfe4489fc9e259c23 authored almost 5 years ago
revert these changes which were done by mistake

github.com/hpyproject/hpy - d1f4ea162c1bf3b72818cc89cce807aab87bd673 authored almost 5 years ago
use the proper cross references

github.com/hpyproject/hpy - dd454fe1f05606750130174a168a4584d1ba7ad0 authored almost 5 years ago
add a step-by-step example

github.com/hpyproject/hpy - 1244077b2ec8b6092fdc4c5feba65376ec7512d3 authored almost 5 years ago
add a section about HPyContext. I don't like it too much, feel free to improve

github.com/hpyproject/hpy - 78afac25a283e58febfaebfea7f1dd71645164b5 authored almost 5 years ago
start documenting the API

github.com/hpyproject/hpy - 5e113a8a0f2145f1ccd43f007e43b513f2eaf900 authored almost 5 years ago
Merge pull request #31 from pyhandle/feature/improve-docs

Write some overview docs

github.com/hpyproject/hpy - 6e76cc63aa6cb092a83cccfebc4ec98fe68d2fcb authored almost 5 years ago
use a rst glossary for listing the ABIs, and use :term: to put a link to them where appropriate

github.com/hpyproject/hpy - b53b3224dc0ad44a0c208b38daf0236077c6b22f authored almost 5 years ago
fix xxx and put links

github.com/hpyproject/hpy - 86252dbe8381cd5ed3d25c2cfa2e457efd9b5d85 authored almost 5 years ago
add a label for this section

github.com/hpyproject/hpy - baba83875ecd4a345c61348db5984c2a6bc0f10c authored almost 5 years ago
remove numpy from this list

github.com/hpyproject/hpy - 4cbf1eec3cf3ddb84126a9a6b7e6112b9683a183 authored almost 5 years ago
Update docs/overview.rst

Co-Authored-By: Matti Picus <[email protected]>

github.com/hpyproject/hpy - 677cc4663c79d0111e95b2c456cff5509da6f316 authored almost 5 years ago
Update docs/overview.rst

Co-Authored-By: Matti Picus <[email protected]>

github.com/hpyproject/hpy - 34a91dcbc750e06a156f7b24863e7ddc33147df7 authored almost 5 years ago
Update docs/overview.rst

Co-Authored-By: Matti Picus <[email protected]>

github.com/hpyproject/hpy - 0d50cec89cffdbee7e23632eca9337a2e19d6df9 authored almost 5 years ago
address a comment in the review

github.com/hpyproject/hpy - 9fafe63123bae2a9937424370db54d63974e5de3 authored almost 5 years ago
remove debugging.rst for now, so that we can review/merge what we have so far

github.com/hpyproject/hpy - ad9b87b20e831075d9c4734c4c6fe5bed381e3e8 authored almost 5 years ago
finish the last paragraphs of the HPy overview

github.com/hpyproject/hpy - f616b081ddf6ac2b018fb1be5c5807960adee9b1 authored almost 5 years ago
change the titles, it doesn't make sense to repeat HPy everywhere

github.com/hpyproject/hpy - 289c45b9a46fbcb8715a55275dd4b8078afccca1 authored almost 5 years ago
typos and tweaks

github.com/hpyproject/hpy - c556ab855c1147c6f7b3772d64b91e9d7a526549 authored almost 5 years ago
move the list of cpyext-like projects into its own section

github.com/hpyproject/hpy - 48026806f674b4da37a26dff176a4ae2dc5660a1 authored almost 5 years ago
ignore emacs backups

github.com/hpyproject/hpy - c50ab9b73dfa7a5a8b7794711194d097bfe6548a authored almost 5 years ago
turn the bulleted list into a definition list, with some rewording

github.com/hpyproject/hpy - 02fd364aa4982adc69c8c550a9cb4f8e81b2f50c authored almost 5 years ago
more infos

github.com/hpyproject/hpy - 657a3e5cdfa9c079b92cf8a2b9cb533c165b1282 authored almost 5 years ago
document the API/ABI distinction

github.com/hpyproject/hpy - 7706bf48c184454cc05b85b7cc2926bfa1b090b3 authored almost 5 years ago
start to write the docs and add a skeleton

github.com/hpyproject/hpy - 2a7b087206dedf36fb66f9f88d5eb85a63563d9e authored almost 5 years ago
add sphinx-autobuild

github.com/hpyproject/hpy - 3dd06a51355404f7a9c88e96fecc599732849593 authored almost 5 years ago
Merge pull request #30 from pyhandle/feature/add-sphinx-docs

Add Sphinx documentation skeleton.

github.com/hpyproject/hpy - 607d71954d7302e14145feba4ab59cc95158d00d authored almost 5 years ago
Configure sphinx_rtd_theme.

github.com/hpyproject/hpy - c7e26db63ff81e03e4192662f09d51b2a480c464 authored almost 5 years ago
Add readthedocs Sphinx theme.

github.com/hpyproject/hpy - 33080969a9944fb29ed241b678c3551864f1ef15 authored almost 5 years ago
Require a more recent version of Sphinx for our documentation.

github.com/hpyproject/hpy - 872398effdcdb66b0c5c34e02c47d89d79d6ad14 authored almost 5 years ago
Add readthedocs configuration.

github.com/hpyproject/hpy - 25739cd8d08e643f50bf4f0f24ee12ef66dc99cc authored almost 5 years ago
Ignore the Sphinx build folder.

github.com/hpyproject/hpy - 657a1dea0b448300ae661d83797ab8374f0311cf authored almost 5 years ago
Add README files the static file and template file folders.

github.com/hpyproject/hpy - 9603e6bb226a93ca84515ede96e510fbefcfa55b authored almost 5 years ago
Add Sphinx configuration files.

github.com/hpyproject/hpy - 34fc76b20cc0593d8676cd3910b97e375991db31 authored almost 5 years ago
Begin translating design decisions into markdown.

github.com/hpyproject/hpy - 11f99669a490b74c91fa7acce53dd80eb41f34a0 authored almost 5 years ago
improve the test. This semantics is weird, though: do we want to mimic CPython, or to provide a better API?

github.com/hpyproject/hpy - 79077d1f8241b12d4e828d8b5cde30236aaef642 authored almost 5 years ago
fix these tests: handles passed as arguments are automatically closed at the end of the function, so we need an HPy_Dup() to return one.

github.com/hpyproject/hpy - b38b7f5685fe4f1aea0c3942217ba420086cd74f authored almost 5 years ago
Merge pull request #27 from pyhandle/feature/minor-improvements-to-item-and-attr-access-tests

Use 3 rather than 0 as the index in item and attr access tests

github.com/hpyproject/hpy - a7fd1e4170bf8a073b5f438a5f922ec356c24bb0 authored almost 5 years ago
Use 3 rather than 0 as the index in item and attr access tests -- o is not special enough.

github.com/hpyproject/hpy - b9d4bef31b830dcac1be603504503645b962e629 authored almost 5 years ago
Merge pull request #26 from pyhandle/feature/add-graalpython-to-readme

Add GraalPython to the list of other Pythons.

github.com/hpyproject/hpy - 4e776624982c0fb7bd81bb5f26f561717426985a authored almost 5 years ago
Add GraalPython to the list of other Pythons.

github.com/hpyproject/hpy - a7efb02b2c17b4852a404fc6ef286448576c8dc0 authored almost 5 years ago
Merge pull request #25 from pyhandle/feature/number-functions

Add HPy_Xxx() functions for all "numeric" operators like "*" and so on

github.com/hpyproject/hpy - c9c50df960fe5b12355ff1d15d57813a1f76bb1f authored almost 5 years ago
Rename 'HPyNumber_' to simply 'HPy_'

github.com/hpyproject/hpy - e87d3c76ae1c1153c2abd390d4606cfb0823640f authored almost 5 years ago
PyNumber_InPlaceXxx()

github.com/hpyproject/hpy - e71df3855b4e84ed9260caed2e4b676f94b86a2b authored almost 5 years ago
Add most of the PyNumber_Xxx()

github.com/hpyproject/hpy - 7d4481bea27014ee84aa06bccebc40460e7c6e86 authored almost 5 years ago
Don't write a byte 0xf2 in the .c source

At least for me, gcc chokes on it

github.com/hpyproject/hpy - 5a613f53c334458f6e724799eb91c7814aec94d6 authored almost 5 years ago
Start implementing constructor

github.com/hpyproject/hpy - f2345082be063ec5fe93606498cc54d277b7d57e authored almost 5 years ago
Start implementing a slot function in pof.c and add HPy_Cast (WIP)

github.com/hpyproject/hpy - c03a9337f0da1df94437cabe3547a0a43bbb9c8b authored almost 5 years ago
Test type creation and basic instanciation

github.com/hpyproject/hpy - a87e9b1e872bc0af4a56ff69973f5679c4c8283c authored almost 5 years ago