|
2 | 2 | What's New
|
3 | 3 | ======================
|
4 | 4 |
|
| 5 | +v1.17.1 |
| 6 | +======= |
| 7 | + |
| 8 | +* Fix failing ``distutils.msvc9compiler`` imports under Windows (`#118`_). |
| 9 | +* ``ffibuilder.emit_python_code()`` and ``ffibuiler.emit_c_code()`` accept file-like objects (`#115`_). |
| 10 | +* ``ffiplatform`` calls are bypassed by ``ffibuilder.emit_python_code()`` and ``ffibuilder.emit_c_code()`` (`#81`_). |
| 11 | + |
| 12 | +.. _`#118`: https://github.com/python-cffi/cffi/pull/118 |
| 13 | +.. _`#115`: https://github.com/python-cffi/cffi/pull/115 |
| 14 | +.. _`#81`: https://github.com/python-cffi/cffi/pull/81 |
| 15 | + |
5 | 16 | v1.17.0
|
6 | 17 | =======
|
7 | 18 |
|
@@ -30,6 +41,9 @@ v1.16.0
|
30 | 41 | * Add support for PEP517 builds; ``setuptools`` is now a required build dependency.
|
31 | 42 | * Declare ``python_requires`` metadata for Python 3.8+. This allows unsupported Pythons
|
32 | 43 | to continue using previously released sdists and wheels.
|
| 44 | +* Upstream project hosting moved from Heptapod to `GitHub`_. |
| 45 | + |
| 46 | +.. _`GitHub`: https://github.com/python-cffi/cffi |
33 | 47 |
|
34 | 48 | v1.15.1
|
35 | 49 | =======
|
@@ -145,7 +159,7 @@ v1.14
|
145 | 159 |
|
146 | 160 | As a workaround that works on all versions of cffi, you can write
|
147 | 161 | ``lib.myfunc(ffi.new("float[]", [large list]))``, which is
|
148 |
| - equivalent but explicity builds the intermediate array as a regular |
| 162 | + equivalent but explicitly builds the intermediate array as a regular |
149 | 163 | Python object on the heap.
|
150 | 164 |
|
151 | 165 | * fixed a memory leak inside ``ffi.getwinerror()`` on CPython 3.x.
|
@@ -253,7 +267,7 @@ v1.12
|
253 | 267 | keyword or by calling the new ``ffi.release()``.
|
254 | 268 |
|
255 | 269 | * Windows, CPython 3.x: cffi modules are linked with ``python3.dll``
|
256 |
| - again. This makes them independant on the exact CPython version, |
| 270 | + again. This makes them independent on the exact CPython version, |
257 | 271 | like they are on other platforms. **It requires virtualenv 16.0.0.**
|
258 | 272 |
|
259 | 273 | * Accept an expression like ``ffi.new("int[4]", p)`` if ``p`` is itself
|
|
521 | 535 | the new file descriptor is only closed when the GC reclaims the Python
|
522 | 536 | file object---and not at the earlier time when you call ``close()``,
|
523 | 537 | which only closes the original file descriptor. If this is an issue,
|
524 |
| - you should avoid this automatic convertion of Python file objects: |
| 538 | + you should avoid this automatic conversion of Python file objects: |
525 | 539 | instead, explicitly manipulate file descriptors and call ``fdopen()``
|
526 | 540 | from C (...via cffi).
|
527 | 541 |
|
|
0 commit comments