Hello community, here is the log from the commit of package python-cffi for openSUSE:Factory checked in at 2015-09-24 07:16:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cffi (Old) and /work/SRC/openSUSE:Factory/.python-cffi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cffi" Changes: -------- --- /work/SRC/openSUSE:Factory/python-cffi/python-cffi.changes 2015-08-29 20:02:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-cffi.new/python-cffi.changes 2015-09-24 07:16:09.000000000 +0200 @@ -1,0 +2,47 @@ +Thu Sep 17 11:28:00 UTC 2015 - p.drou...@gmail.com + +- Update to version 1.2.1 + * No changes entry for this version +- Changes from version 1.2.0 + * Out-of-line mode: ``int a[][...];`` can be used to declare a structure + field or global variable which is, simultaneously, of total length + unknown to the C compiler (the ``a[]`` part) and each element is + itself an array of N integers, where the value of N *is * known to the + C compiler (the ``int`` and ``[...]`` parts around it). Similarly, + ``int a[5][...];`` is supported (but probably less useful: remember + that in C it means ``int (a[5])[...];``). + * PyPy: the ``lib.some_function`` objects were missing the attributes + ``__name__``, ``__module__`` and ``__doc__`` that are expected e.g. by + some decorators-management functions from ``functools``. + * Out-of-line API mode: you can now do ``from _example.lib import x`` + to import the name ``x`` from ``_example.lib``, even though the + ``lib`` object is not a standard module object. (Also works in ``from + _example.lib import *``, but this is even more of a hack and will fail + if ``lib`` happens to declare a name called ``__all__``. Note that + `` *`` excludes the global variables; only the functions and constants + make sense to import like this.) + * ``lib.__dict__`` works again and gives you a copy of the + dict---assuming that ``lib`` has got no symbol called precisely + ``__dict__``. (In general, it is safer to use ``dir(lib)``.) + * Out-of-line API mode: global variables are now fetched on demand at + every access. It fixes issue #212 (Windows DLL variables), and also + allows variables that are defined as dynamic macros (like ``errno``) + or ``__thread`` -local variables. (This change might also tighten + the C compiler's check on the variables' type.) + * Issue #209: dereferencing NULL pointers now raises RuntimeError + instead of segfaulting. Meant as a debugging aid. The check is + only for NULL: if you dereference random or dead pointers you might + still get segfaults. + * Issue #152: callbacks__: added an argument ``ffi.callback(..., + onerror=...)``. If the main callback function raises an exception + and ``onerror`` is provided, then ``onerror(exception, exc_value, + traceback)`` is called. This is similar to writing a ``try: + except:`` in the main callback function, but in some cases (e.g. a + signal) an exception can occur at the very start of the callback + function---before it had time to enter the ``try: except:`` block. + * Issue #115: added ``ffi.new_allocator()``, which officializes + support for `alternative allocators`__. + .. __: using.html#callbacks + .. __: using.html#alternative-allocators + +------------------------------------------------------------------- Old: ---- cffi-1.1.0.tar.gz New: ---- cffi-1.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cffi.spec ++++++ --- /var/tmp/diff_new_pack.GNo8kp/_old 2015-09-24 07:16:09.000000000 +0200 +++ /var/tmp/diff_new_pack.GNo8kp/_new 2015-09-24 07:16:09.000000000 +0200 @@ -17,13 +17,13 @@ Name: python-cffi -Version: 1.1.0 +Version: 1.2.1 Release: 0 Summary: Foreign Function Interface for Python calling C code License: MIT Group: Development/Languages/Python Url: http://cffi.readthedocs.org -Source0: http://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz +Source0: https://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz Source1: python-cffi-rpmlintrc BuildRequires: gcc-c++ BuildRequires: python-devel ++++++ cffi-1.1.0.tar.gz -> cffi-1.2.1.tar.gz ++++++ ++++ 3752 lines of diff (skipped)