aboutsummaryrefslogtreecommitdiff
path: root/pypy
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-01-28 11:46:28 +0200
committerMatti Picus <matti.picus@gmail.com>2021-01-28 11:46:28 +0200
commit58a882e1395524e470cf87c5a4c5acdaeac8e914 (patch)
tree0059ff644da3a5b163ae68d85e5a4494a4ab6067 /pypy
parentre-apply backed out changes from rpython-never-allocate (diff)
parentunify 'hints' and '_hints' to '_hints' (diff)
downloadpypy-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.rst6
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