<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cffi.git/c, branch master</title>
<subtitle>foss.heptapod.net: pypy/cffi
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/'/>
<entry>
<title>style issues only</title>
<updated>2022-12-24T13:09:37+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2022-12-24T13:09:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=7aecd67547c025a8c146569d5f0c3bd22ec72718'/>
<id>7aecd67547c025a8c146569d5f0c3bd22ec72718</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the test failures on hppa</title>
<updated>2022-12-18T19:52:04+00:00</updated>
<author>
<name>John David Anglin</name>
<email>dave.anglin@bell.net</email>
</author>
<published>2022-12-18T19:52:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=a06428ea810576b27774b76c650f83364e6f6e7f'/>
<id>a06428ea810576b27774b76c650f83364e6f6e7f</id>
<content type='text'>
A couple of years ago the libffi port for hppa-linux was changed from using a
trampoline executed on the stack to the function descriptor technique used by
ia64. This doesn't require an executable stack and is simpler. However,
function pointers need to have the PLABEL bit set in the pointer. As a result,
a simple cast can't be used to convert closure pointers to function pointers.

python-cffi uses its own closure allocation so the problem can't be fixed in
libffi.

I added a macro CFFI_FN to do the conversion. It shouldn't affect other
architectures. There is a similar define in libffi.

Fixes: https://bugs.debian.org/1024271
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A couple of years ago the libffi port for hppa-linux was changed from using a
trampoline executed on the stack to the function descriptor technique used by
ia64. This doesn't require an executable stack and is simpler. However,
function pointers need to have the PLABEL bit set in the pointer. As a result,
a simple cast can't be used to convert closure pointers to function pointers.

python-cffi uses its own closure allocation so the problem can't be fixed in
libffi.

I added a macro CFFI_FN to do the conversion. It shouldn't affect other
architectures. There is a similar define in libffi.

Fixes: https://bugs.debian.org/1024271
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue 553</title>
<updated>2022-12-04T17:26:29+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2022-12-04T17:26:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=97d2ed49cebd47618fa1cee435085a2bdd64fcd3'/>
<id>97d2ed49cebd47618fa1cee435085a2bdd64fcd3</id>
<content type='text'>
Two missing calls to PyObject_GC_UnTrack()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two missing calls to PyObject_GC_UnTrack()
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace py.test usage with pytest, explicitly require py for tests</title>
<updated>2022-11-11T13:51:14+00:00</updated>
<author>
<name>Miro Hrončok</name>
<email>miro@hroncok.cz</email>
</author>
<published>2022-11-11T13:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=babc98d98570b5dbb85fb1c58b012aafa9769696'/>
<id>babc98d98570b5dbb85fb1c58b012aafa9769696</id>
<content type='text'>
pytest 7.2+ no longer depends on py. It ships py.path and py.error only.
See https://docs.pytest.org/en/7.2.x/changelog.html#deprecations

The tests use py.code as well, hence we declare and document a test dependency on py.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pytest 7.2+ no longer depends on py. It ships py.path and py.error only.
See https://docs.pytest.org/en/7.2.x/changelog.html#deprecations

The tests use py.code as well, hence we declare and document a test dependency on py.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust tests for a last minute Python 3.11 change in the traceback format</title>
<updated>2022-07-15T14:11:37+00:00</updated>
<author>
<name>Miro Hrončok</name>
<email>miro@hroncok.cz</email>
</author>
<published>2022-07-15T14:11:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=cad3c522671b1c8db400fc9047f9a6bedca8af97'/>
<id>cad3c522671b1c8db400fc9047f9a6bedca8af97</id>
<content type='text'>
See https://github.com/python/cpython/issues/93883
and https://github.com/python/cpython/pull/93994
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://github.com/python/cpython/issues/93883
and https://github.com/python/cpython/pull/93994
</pre>
</div>
</content>
</entry>
<entry>
<title>musllinux test updates and wheels, py3.11 beta wheels</title>
<updated>2022-06-29T21:14:10+00:00</updated>
<author>
<name>Matt Davis</name>
<email>mrd@redhat.com</email>
</author>
<published>2022-06-29T21:14:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=eaa9538f4130d7953297e1926ec4c08bd6c8d9f0'/>
<id>eaa9538f4130d7953297e1926ec4c08bd6c8d9f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tweak the test for pypy, where we get an extra null byte after a plain 'char'</title>
<updated>2022-06-08T08:10:31+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2022-06-08T08:10:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=ddd56a92609eacd598cde41e4244b08722f01730'/>
<id>ddd56a92609eacd598cde41e4244b08722f01730</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dump version to 1.15.1</title>
<updated>2022-06-08T07:21:38+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2022-06-08T07:21:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=1dfaec5c1a272c205530a0feb726d2047db17a84'/>
<id>1dfaec5c1a272c205530a0feb726d2047db17a84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>issue #535</title>
<updated>2022-06-08T07:10:21+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2022-06-08T07:10:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=34c9e300eb82d937d231c1bc3b95a5c035d98e0f'/>
<id>34c9e300eb82d937d231c1bc3b95a5c035d98e0f</id>
<content type='text'>
Give a warning when we ask a ffi.buffer() that can be proven to
overflow.  Might help with the confusion on that issue #535.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Give a warning when we ask a ffi.buffer() that can be proven to
overflow.  Might help with the confusion on that issue #535.
</pre>
</div>
</content>
</entry>
<entry>
<title>#532 Use Py_SET_REFCNT in _cffi_backend.c instead of ob_refcnt</title>
<updated>2022-04-12T21:29:40+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2022-04-12T21:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=2ff7999df707d8d1191553c892519b3791e15341'/>
<id>2ff7999df707d8d1191553c892519b3791e15341</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
