-
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 the extension's so…
-
In Heptapod by @antocuni on Aug 28, 2021, 13:18
The implementation of W_HPyObject is sub-optimal for various reasons:
1. to allocate an instace (by calling _create_instance) we do two mallocs:
…
-
I was curious about contributing but the repo is empty. There's some progress in the module-init-functions branch, but it's totally unclear what state it's in - broken, incomplete, working but never …
-
My use case is *not* module development, but having a (currently) CPython interpreter embedded in the application. I'm using HPy so that in distant future a different Python implementation could be em…
-
Currently, I try to analyze an apparent memory leak (under Linux) using different types of analysis, among them the following based on `heappy`:
```
class GcHpy(SnapshotData):
"""Statistics based…
-
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 won't raise an error), it is actually not suppo…
-
In the debug mode `HPyType_FromSpec` should extend the user provided structure with a header containing magic number to check consistency (and possibly some additional debug info if there is any use f…
-
`HPyGlobal` does not provide isolation for multiple instances of the same module loaded in one interpreter. However, experienced user could use `HPyGlobal` in such scenario, for example:
```
HPy t…
-
Some Python compilers (for example Cython in pure Python mode and Pythran) use the priority to an extension when importing a module. When importing `foo`, if `foo.py` and `foo.so` exist, `foo.so` is i…
-
---
The current state in CPython and its issues:
* user sets `m_size` in `PyModuleDef`, runtime allocates the state for the user when creating the module
* getting the module state in different s…