<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cffi.git/testing/cffi1/test_ffi_obj.py, branch py.test</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>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>Fix deprecated uses of pytest.raises()</title>
<updated>2019-03-12T16:28:38+00:00</updated>
<author>
<name>Ronan Lamy</name>
<email>ronan.lamy@gmail.com</email>
</author>
<published>2019-03-12T16:28:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=ba89d5683e8594883e9c2114b2a8d7eebc48a595'/>
<id>ba89d5683e8594883e9c2114b2a8d7eebc48a595</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement ffi.from_buffer("foo[]", x)</title>
<updated>2019-01-07T22:23:58+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2019-01-07T22:23:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=992922b58e02ebf0a58eb6232112da8c6fe2fdcc'/>
<id>992922b58e02ebf0a58eb6232112da8c6fe2fdcc</id>
<content type='text'>
Also contains some improvements to the documentation about other recent
additions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also contains some improvements to the documentation about other recent
additions
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #394</title>
<updated>2018-12-16T07:48:45+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2018-12-16T07:48:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=d1320b79e38ee16d73c9e9c72fd0e5112cffbad8'/>
<id>d1320b79e38ee16d73c9e9c72fd0e5112cffbad8</id>
<content type='text'>
Implement ffi.from_buffer(x, require_writable=True)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement ffi.from_buffer(x, require_writable=True)
</pre>
</div>
</content>
</entry>
<entry>
<title>Make 'ffi.buffer' be the type of minibuffers returned by cffi, and</title>
<updated>2017-02-04T14:05:47+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2017-02-04T14:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=b05cea94af19abfd675f4e4a46af338b6c329612'/>
<id>b05cea94af19abfd675f4e4a46af338b6c329612</id>
<content type='text'>
'ffi.buffer()' now calls the constructor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'ffi.buffer()' now calls the constructor.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix test</title>
<updated>2016-12-07T08:33:43+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2016-12-07T08:33:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=b203432d6b3907fc080a7eabae6d93f3e08d4d9f'/>
<id>b203432d6b3907fc080a7eabae6d93f3e08d4d9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>typedef int foo_t[...];</title>
<updated>2016-09-20T13:07:37+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2016-09-20T13:07:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=d067b48aa4660487e050e396ff957d916d5183c4'/>
<id>d067b48aa4660487e050e396ff957d916d5183c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove again ffi.rawstring(), and implement instead ffi.unpack().</title>
<updated>2016-04-16T21:28:14+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2016-04-16T21:28:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=4b765c16d4f60f46084abd74341e79267be751d0'/>
<id>4b765c16d4f60f46084abd74341e79267be751d0</id>
<content type='text'>
Pre-documentation notes:  (hi Amaury :-)

* ffi.unpack(&lt;cdata 'char'&gt;, n) == ffi.buffer(&lt;cdata 'char'&gt;, n)[:]
  but I hope it is a little bit more natural

* ffi.unpack(&lt;cdata 'wchar_t'&gt;, n): this is the original motivation,
  because it has no previous equivalent

* ffi.unpack(&lt;cdata 'int'&gt;, n) == list(&lt;cdata 'int'&gt;[0:n])
  but should be much faster on CPython
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pre-documentation notes:  (hi Amaury :-)

* ffi.unpack(&lt;cdata 'char'&gt;, n) == ffi.buffer(&lt;cdata 'char'&gt;, n)[:]
  but I hope it is a little bit more natural

* ffi.unpack(&lt;cdata 'wchar_t'&gt;, n): this is the original motivation,
  because it has no previous equivalent

* ffi.unpack(&lt;cdata 'int'&gt;, n) == list(&lt;cdata 'int'&gt;[0:n])
  but should be much faster on CPython
</pre>
</div>
</content>
</entry>
<entry>
<title>Python3 compat</title>
<updated>2016-04-15T17:36:05+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2016-04-15T17:36:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=745ca71e9cda78085c3df98e9e526d34719e8100'/>
<id>745ca71e9cda78085c3df98e9e526d34719e8100</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ffi.rawstring(), with a minimal interface</title>
<updated>2016-04-15T16:23:28+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2016-04-15T16:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cffi.git/commit/?id=f5d81838a8eb7a0108192eb5abb9410ee7c038ea'/>
<id>f5d81838a8eb7a0108192eb5abb9410ee7c038ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
