(original) (raw)
changeset: 75352:9d3c7dd55c7f user: Stefan Krah skrah@bytereef.org date: Wed Feb 29 17:47:21 2012 +0100 files: Doc/whatsnew/3.3.rst description: Issue #10181: Add warning that structure layouts in memoryobject.h and object.h have changed. diff -r 09e9560d649b -r 9d3c7dd55c7f Doc/whatsnew/3.3.rst --- a/Doc/whatsnew/3.3.rst Wed Feb 29 17:27:21 2012 +0100 +++ b/Doc/whatsnew/3.3.rst Wed Feb 29 17:47:21 2012 +0100 @@ -102,6 +102,7 @@ now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to 'c' first. +* For further changes see `Build and C API Changes`_ and `Porting C code`_ . .. _pep-393: @@ -1049,6 +1050,14 @@ Porting C code -------------- +* In the course of changes to the buffer API the undocumented + :c:member:`~Py_buffer.smalltable` member of the + :c:type:`Py_buffer` structure has been removed and the + layout of the :c:type:`PyMemoryViewObject` has changed. + + All extensions relying on the relevant parts in ``memoryobject.h`` + or ``object.h`` must be rebuilt. + * Due to :ref:`PEP 393 `, the :c:type:`Py_UNICODE` type and all functions using this type are deprecated (but will stay available for at least five years). If you were using low-level Unicode APIs to/skrah@bytereef.org