diff options
author | wiz <wiz> | 2013-05-19 17:41:29 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-05-19 17:41:29 +0000 |
commit | 4cdb0f2bcab2a5547d4505ea3112804dc99eefbc (patch) | |
tree | f4dac03439a2824c7e279a2c6bcf6cca8fadb586 | |
parent | 1bd0ed164106fa5dd85ea96e451fd696c3074178 (diff) | |
download | pkgsrc-4cdb0f2bcab2a5547d4505ea3112804dc99eefbc.tar.gz |
Update to 0.19.1:
0.19.1 (2013-05-11)
===================
Features added
--------------
* Completely empty C-API structs for extension type slots (protocols like
number/mapping/sequence) are no longer generated into the C code.
* Docstrings that directly follow a public/readonly attribute declaration
in a cdef class will be used as docstring of the auto-generated property.
This fixes ticket 206.
* The automatic signature documentation tries to preserve more semantics
of default arguments and argument types. Specifically, ``bint`` arguments
now appear as type ``bool``.
* A warning is emitted when negative literal indices are found inside of
a code section that disables ``wraparound`` handling. This helps with
fixing invalid code that might fail in the face of future compiler
optimisations.
* Constant folding for boolean expressions (and/or) was improved.
* Added a build_dir option to cythonize() which allows one to place
the generated .c files outside the source tree.
Bugs fixed
----------
* ``isinstance(X, type)`` failed to get optimised into a call to
``PyType_Check()``, as done for other builtin types.
* A spurious "from datetime cimport *" was removed from the "cpython"
declaration package. This means that the "datetime" declarations
(added in 0.19) are no longer available directly from the "cpython"
namespace, but only from "cpython.datetime". This is the correct
way of doing it because the declarations refer to a standard library
module, not the core CPython C-API itself.
* The C code for extension types is now generated in topological order
instead of source code order to avoid C compiler errors about missing
declarations for subtypes that are defined before their parent.
* The ``memoryview`` type name no longer shows up in the module dict of
modules that use memory views. This fixes trac ticket 775.
* Regression in 0.19 that rejected valid C expressions from being used
in C array size declarations.
* In C++ mode, the C99-only keyword ``restrict`` could accidentally be
seen by the GNU C++ compiler. It is now specially handled for both
GCC and MSVC.
* Testing large (> int) C integer values for their truth value could fail
due to integer wrap-around.
Other changes
-------------
-rw-r--r-- | devel/py-cython/Makefile | 4 | ||||
-rw-r--r-- | devel/py-cython/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/py-cython/Makefile b/devel/py-cython/Makefile index e2d1206925d..e5d250b851f 100644 --- a/devel/py-cython/Makefile +++ b/devel/py-cython/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.14 2013/05/04 23:50:52 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2013/05/19 17:41:29 wiz Exp $ -DISTNAME= Cython-0.19 +DISTNAME= Cython-0.19.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Cy/cy/} CATEGORIES= lang python MASTER_SITES= http://cython.org/release/ diff --git a/devel/py-cython/distinfo b/devel/py-cython/distinfo index 270d815975b..2df1d387d9e 100644 --- a/devel/py-cython/distinfo +++ b/devel/py-cython/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2013/05/04 23:50:52 wiz Exp $ +$NetBSD: distinfo,v 1.9 2013/05/19 17:41:29 wiz Exp $ -SHA1 (Cython-0.19.tar.gz) = 1edaa0e3cf9d445988313212f0ea4538c3324c86 -RMD160 (Cython-0.19.tar.gz) = 4778b01c800d29dd51c895aef603fe749ae7655b -Size (Cython-0.19.tar.gz) = 1382384 bytes +SHA1 (Cython-0.19.1.tar.gz) = f8c8baa2c358a7482de71d0c744bf19caaae6621 +RMD160 (Cython-0.19.1.tar.gz) = f2e0a8443f452dd3c7c83315b717b1542cae3830 +Size (Cython-0.19.1.tar.gz) = 1384406 bytes SHA1 (patch-aa) = b66269a12ff43be9b7ea980d5245b5fdbbe41e64 SHA1 (patch-ab) = de923488eb3f08f7e048c35c57bd60cbfb2b4c53 SHA1 (patch-ac) = 79b421be9b4b72c57df9907533c4732fec9458f9 |