Florian Angerer

Results 11 issues of Florian Angerer

This PR is a first effort for the long-term goal to add an [HPy](https://github.com/hpyproject/hpy) backend to Cython. The main objective here is to get some feedback on how to structure...

solution of offline assignment; was not sure which files should be included, so included modified and created files

We had some discussion in [October 2023's dev call](https://github.com/hpyproject/hpy/wiki/dev-call-20231005) about the way how we provide the HPy helpers. @steve-s brought up that it may be problematic to propagate updates/fixes for...

API design

This is the follow-up issue of #343 . We aim to use fixed-width integers in the ABI to improve compatibility and portability. However, HPy assumes in several and crucial places...

In [February 2023's dev call](https://github.com/hpyproject/hpy/wiki/dev-call-20230202#decisions-for-release), we had some discussion about if we should have `HPyDict_GetItem` (similar to `PyDict_GetItem`). `PyDict_GetItem` has following semantic differences compared to the generic `PyObject_GetItem`: * It...

API design
HPy update in PyPy
HPy update in GraalPy

This is related to issue #169 . Although it is possible for pure types to extend any legacy type (in the sense that at the time of type creation, HPy...

There are some very fast `Py_Check` functions in CPython that just do masking on the type flags (see https://github.com/python/cpython/blob/d460c8ec52716a37080d31fdc0f673edcc98bee8/Include/object.h#L433). HPy has a hard time to compete with that if we...

We discussed having a stack-allocated context some time ago but never really made a decision nor summarized everything. I wrote a document about that. Since that seemed to be a...

API design

I’m running more and more into the situation where we want to add user-visible API functions (e.g. `HPyCapsule_GetContext` ind PR #308 ) but map them to a more generic context...

Right now, we are adding source files `argparse.c`, `buildvalue.c`, and `helpers.c` to the source file list of the HPy extension to be built and then they are compiled together with...

bug