Skip to main content

hpy 0.9.0: Fourth public release

I'm excited to announce that HPy 0.9 was recently released! The fourth official HPy release comes with many new features and was again made available on PyPI.

This is the first release that also provides binary wheels, so installation is now fast and smooth as you expect it.

The major highlights of the release are support for subclassing of built-in types, metaclasses, the trace mode, multi-phase module initialization, and the hybrid ABI. Please checkout the full release notes here on GitHub: https://github.com/hpyproject/hpy/releases/tag/0.9.0

Also, we invested a lot of effort to improve official documentation.

Great news too is that this release was used to make a first (partially-migrated) port of NumPy, we call it NumPy/HPy, run some examples.

Read more…

No comments.
No comments.
No comments.
No comments.

Dusseldorf PyPy/HPy/other sprint Sept 19-23, 2022

I'm happy to announce that we will finally have another PyPy/HPy/other sprint in Düsseldorf, Germany from September 19-23, 2022.

The sprint will be located at Heinrich Heine University Düsseldorf. Many thanks to Carl Friedrich for organizing this.

We will again follow an open format, i.e., everyone that is interesting in HPy, PyPy, or some related topic is welcome to join the sprint.

See also the announcement on the PyPy blog.

Read more…

No comments.

hpy 0.0.4: Third public release

HPy 0.0.4 is out! The third official HPy release comes with many new features and was again made available on PyPI.

Major highlights of the release are a bunch of new API functions (e.g. HPyErr_ExceptionMatches, HPyErr_WarnEx, HPy_Contains, and more), Python 3.10 support, better support for native fields (HPyField) and global variables (HPyGlobal), new debug mode features (detect invalid raw data pointer usage, detect invalid closing of argument handles, detect return of invalid handles).

Great news too is that we are now able to provide two more non-trivial projects that have been (partially) migrated to HPy. This is, Kiwisolver and Matplotlib.

Read more…

No comments.
No comments.
No comments.
No comments.

HPy @ Python Language Summit

Yesterday I had the privilege to give a talk about HPy (sildes) at the Python Language Summit 2021.

The organizers of the summit will soon publish a full report about the event (edit: now available here), but for the HPy-specific part, we got generally good feedback. Someone has a few concerns that if CPython is to change the API, HPy might not be going far enough. Others said that Python shouldn't wait for the "perfect" API if HPy can be the "good" one that helps it evolve.

Everyone was open to have HPy-compatible wheels on PyPI, once the HPy Universal ABI stays relatively stable. Many people suggested that we should really write a PEP to propose HPy as a "semi-official" API for Python.

Read more…

No comments.