Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2293

Cython 0.25 released

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From Robert Bradshaw <robertwb@gmail.com>
Newsgroups comp.lang.python.announce
Subject Cython 0.25 released
Date Tue, 25 Oct 2016 13:34:22 -0700
Lines 77
Approved python-announce-list@python.org
Message-ID <mailman.167.1477479639.2291.python-announce-list@python.org> (permalink)
References <CADiQ+QCq7aX0gMp+yJr7u+Xusa-fWtXnxgJTQcZWnv8H+6kstg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de hbzJ0jb3ILQY3G7TN9aVpADUK0RlAMP66ssk6EUft8uA==
Return-Path <robertwb@gmail.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'cpython': 0.04; 'binary': 0.05; 'distutils': 0.05; 'filing': 0.05; 'method.': 0.05; 'attributes': 0.07; 'defaults': 0.07; 'formatting': 0.07; 'overflow': 0.07; 'skip:/ 10': 0.07; 'subject:released': 0.07; 'python': 0.09; 'bug.': 0.09; 'dict': 0.09; 'iteration': 0.09; 'skip:` 30': 0.09; 'stl': 0.09; 'bug': 0.10; 'explicitly': 0.15; 'properly': 0.15; 'variables': 0.15; 'constants': 0.16; 'containers': 0.16; 'deprecated.': 0.16; 'directive': 0.16; 'integers': 0.16; 'integers.': 0.16; 'kernel.': 0.16; 'magic': 0.16; 'operator.': 0.16; 'subject:Cython': 0.16; 'to:addr:cython-devel': 0.16; 'typedef': 0.16; 'attribute': 0.18; 'math': 0.20; 'changes': 0.20; 'extension': 0.20; 'alias': 0.22; 'constant': 0.22; 'disable': 0.22; 'faster,': 0.22; 'integer': 0.22; 'skip:` 10': 0.22; 'url:bugs': 0.23; 'language': 0.23; 'handles': 0.23; "python's": 0.23; 'message-id:@mail.gmail.com': 0.25; 'actual': 0.26; 'confirmed': 0.27; 'implemented': 0.27; 'patch': 0.27; 'skip:( 20': 0.27; 'module.': 0.27; "i'm": 0.28; 'operations': 0.28; 'declared': 0.29; 'division': 0.29; 'issues.': 0.29; 'methods.': 0.29; 'signatures': 0.29; 'announce': 0.29; 'objects': 0.29; 'supported': 0.29; 'related': 0.30; 'function': 0.30; 'classes': 0.30; 'bugs': 0.30; 'class.': 0.30; 'moved': 0.30; 'members.': 0.31; 'michael': 0.31; 'url:python': 0.31; 'received:google.com': 0.32; 'fixed': 0.33; 'especially': 0.34; 'c++': 0.35; 'convention': 0.35; 'robert': 0.35; 'rule': 0.35; 'to:addr:googlegroups.com': 0.35; 'initial': 0.35; 'release': 0.35; 'class': 0.35; 'url:org': 0.36; 'still': 0.36; 'faster': 0.36; 'modules': 0.36; 'skip:- 10': 0.36; 'usage': 0.38; 'them.': 0.38; 'some': 0.39; 'level': 0.39; 'to:addr:python.org': 0.39; 'proto:https': 0.40; 'building': 0.40; 'received:io': 0.40; 'received:psf.io': 0.40; 'benefit': 0.63; 'numerous': 0.66; 'direct': 0.66; 'tracking': 0.70; 'to:addr:python-announce-list': 0.71; '2.7.': 0.84; 'faster.': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=zRygwgIu0xaKiOcnz9/L7b/wuOmPM0teayMvUFSiu5g=; b=xZWl3BcqoGueOa6CuOFREHtz2sGNcxKdss+S93gbIZUlNaZ1XWVTIIuVTug8f6yl7J B79QxmDFukzS69q+8/LUYoDrpx9wFaBtEPVEi/c8tELQJoJgIeehuPbFJBcAMH/d73Vg agHCZJL/KYDE8EtxtmVEFfl5bJPem75aUDFZllZuT5SQmGjWiV5NfZk21uA01jtb/4cY VgK/kN0QhpMCFEDObKgS3Uok7+UDWHC1R/v1ETgXXgQ0AI4/v2+3uN+2Y1ncQf/nfEVw Vvb3w6r7jrzujR7gkXNY2SPVWSTOcZySnCbf856TQ3Scg6Aat3unuYuAL0o2rNeOhaEe 9MtA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zRygwgIu0xaKiOcnz9/L7b/wuOmPM0teayMvUFSiu5g=; b=iDNUeKt9VVXsYRBjQGLLhWrDegk+7ctoFRWSsULE5QSeOdW/8kIevl/mWwTQ3QitO8 seWrqLbWt54kHQjvenHPz6bK8crgk+2FIn+JwxBdsm8Cecd0ihWpn+H/2DJ4Nnnu1BIW luA2xynXHTya83I1JEKDOfs0L1Xn46kYloexfe82rpKgulT3UBQgI9tmdUD+Wvv4QDLo FOcqf2icOnTOiVFJTSDNQs76CSYfOvtKRVM0ybJBBC7q3L20nOOt/CzyjFXzUR89Wrwo vmYLzBTziRjsYzpxUX6KIaFYgTn/+p0jRWkaHSuxcuvI4FzV6tcgkM5p1v/0G7Tl+wmz 76DA==
X-Gm-Message-State ABUngvdkPJdWhnjC5Ag1MC2NmtTgKhGoBpGYGsmjVupeU0SCD0UnpEvME2WbhCpVVUzFktIfh2H9hgS82yxM5Q==
X-Received by 10.200.36.202 with SMTP id t10mr21886703qtt.85.1477427692757; Tue, 25 Oct 2016 13:34:52 -0700 (PDT)
X-Mailman-Approved-At Wed, 26 Oct 2016 07:00:38 -0400
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CADiQ+QCq7aX0gMp+yJr7u+Xusa-fWtXnxgJTQcZWnv8H+6kstg@mail.gmail.com>
Xref csiph.com comp.lang.python.announce:2293

Show key headers only | View raw


I'm happy to announce the release of Cython 0.25 which has numerous
new features and bug fixes. It is available at
https://pypi.python.org/pypi/Cython

We have also moved bug tracking from trac.cython.org to github issues.
However, user support still remains at cython-users@, please refrain
from filing issues until you have confirmed an actual bug.

- Robert


Features added
--------------

* def/cpdef methods of cdef classes benefit from Cython's internal function
  implementation, which enables introspection and line profiling for them.
  Implementation sponsored by Turbostream (www.turbostream-cfd.com).

* The distutils extension ``Cython.Distutils.build_ext`` has now been updated
  to use cythonize which properly handles dependencies.  The old extension can
  still be found in ``Cython.Distutils.old_build_ext`` and is now deprecated.

* Calls to Python functions are faster, following the recent "FastCall"
  optimisations that Victor Stinner implemented for CPython 3.6.
  See https://bugs.python.org/issue27128 and related issues.

* The new METH_FASTCALL calling convention for PyCFunctions is supported
  in CPython 3.6.  See https://bugs.python.org/issue27810

* C++ classes can now have typedef members. STL containers updated with
  value_type.

* Support for bazel using a the pyx_library rule in //Tools:rules.bzl.

* Initial support for using Cython modules in Pyston.  Patch by Daetalus.

* Dynamic Python attributes are allowed on cdef classes if an attribute
  ``cdef dict __dict__`` is declared in the class.  Patch by empyrical.

* Cython implemented C++ classes can make direct calls to base class methods.
  Patch by empyrical.

* New directive ``cython.no_gc`` to fully disable GC for a cdef class.
  Patch by Claudio Freire.

* Buffer variables are no longer excluded from ``locals()``.
  Patch by da-woods.

* Building f-strings is faster, especially when formatting C integers.

* for-loop iteration over "std::string".

* ``libc/math.pxd`` provides ``e`` and ``pi`` as alias constants to simplify
  usage as a drop-in replacement for Python's math module.

* Speed up cython.inline().

* Binary lshift operations with small constant Python integers are faster.

* Some integer operations on Python long objects are faster in Python 2.7.

* Support for the C++ ``typeid`` operator.

Significant Bugs fixed
----------------------

* Division of complex numbers avoids overflow by using Smith's method.

* Some function signatures in ``libc.math`` and ``numpy.pxd`` were incorrect.
  Patch by Michael Seifert.

Other changes
-------------

* The "%%cython" IPython/jupyter magic now defaults to the language level of
  the current jupyter kernel.  The language level can be set explicitly with
  "%%cython -2" or "%%cython -3".

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Cython 0.25 released Robert Bradshaw <robertwb@gmail.com> - 2016-10-25 13:34 -0700

csiph-web