Mercurial > hgrepos > FreeBSD > ports > www > uwsginl
view uwsginl-plugin-lang-pypy3/misc/make-extra-patches.sh @ 178:c8ba67c8b1f5
FIX: Refcount bug in the Python plugin -- introduced in Git commit fe44f47.
Previously PyList_GetItem() and PyTuple_GetItem() were used: these
functions return borrowed referenced. Now -- with PySequence_GetItem()
new references are returned: they need to be decrefed.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 09 Mar 2025 02:47:17 +0100 |
| parents | 31cd6efe7e57 |
| children |
line wrap: on
line source
#!/bin/sh diff -u --show-c-function plugins/pypy/pypy_plugin.c.orig plugins/pypy/pypy_plugin.c >../../files/extra/patch-plugins_pypy_pypy__plugin.c diff -u plugins/pypy/pypy_setup.py.orig plugins/pypy/pypy_setup.py >../../files/extra/patch-plugins_pypy_pypy__setup.py
