diff options
author | Matti Picus <matti.picus@gmail.com> | 2021-01-28 11:46:28 +0200 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2021-01-28 11:46:28 +0200 |
commit | 58a882e1395524e470cf87c5a4c5acdaeac8e914 (patch) | |
tree | 0059ff644da3a5b163ae68d85e5a4494a4ab6067 /pypy | |
parent | re-apply backed out changes from rpython-never-allocate (diff) | |
parent | unify 'hints' and '_hints' to '_hints' (diff) | |
download | pypy-58a882e1395524e470cf87c5a4c5acdaeac8e914.tar.gz pypy-58a882e1395524e470cf87c5a4c5acdaeac8e914.tar.bz2 pypy-58a882e1395524e470cf87c5a4c5acdaeac8e914.zip |
remerge fixes from rpython-never-allocate
Diffstat (limited to 'pypy')
-rw-r--r-- | pypy/doc/whatsnew-head.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst index 436630784e..b47b83778a 100644 --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whatsnew-head.rst @@ -54,3 +54,9 @@ Backport fixes to winreg adding reflection and fix for passing None (bpo Change parameter type of ``PyModule_New`` to ``const char*``, add ``PyModule_Check`` and ``PyModule_CheckExact`` + +.. branch: rpython-never-allocate + +Introduce a ``@never_allocate`` class decorator, which ensure that a certain +RPython class is never actually instantiated at runtime. Useful to ensure that +e.g. it's always constant-folded away |