[Cython] Cython 0.17 beta 4 released - final release candidate

2012-08-30 Thread Stefan Behnel
Hello everyone,

on behalf of the Cython project team, I'm proud to announce the release of
our fourth beta of Cython 0.17. Unless something truly unforseen happens,
this will become our final release. So please give it another test run
against your code.

Cython 0.17 is another major step forward in the development of the
language that will make life easier for a lot of users, rounds up some
rough edges of the compiler and adds (preliminary) support for CPython 3.3
and PyPy.

Download: http://cython.org/release/Cython-0.17b4.tar.gz

Release notes: http://wiki.cython.org/ReleaseNotes-0.17

Documentation: http://docs.cython.org/


Major features of this release include:

* vastly improved integration with the C++ STL containers

  http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html#standard-library

  http://docs.cython.org/src/tutorial/strings.html#c-strings

* "yield from" delegation between generators (PEP 380)

  http://www.python.org/dev/peps/pep-0380/

* alpha quality support for PyPy (via cpyext)

  http://docs.cython.org/src/userguide/pypy.html


Several other features and improvements are listed in the release notes:

  http://wiki.cython.org/ReleaseNotes-0.17


Have fun,

Stefan
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] array expressions

2012-08-30 Thread Sturla Molden
While I have not tried this yet, array expressions in Cython might be 
the final nails in the coffin for Fortran 90 as far as I am concerned.

Great work!

:-)

Sturla



On 24.08.2012 20:40, mark florisson wrote:

Hey,

Here a pull request for element-wise array expressions for Cython:
https://github.com/cython/cython/pull/144
It includes the IndexNode refactoring branch as well.

This has been the work this last summer for the gsoc, with great
supervision from Dag, who helped steer the project in a great
direction to make it reusable (it's partially included in Numba and
will likely be in Theano in the future, hopefully others as well). I
also wrote a thesis for my master's, which can be found here
https://github.com/markflorisson88/minivect/tree/master/thesis, which
can shed
some light on some parts of the design and performance aspects.
Performance graphs can also be found here:
https://github.com/markflorisson88/minivect/tree/master/bench/graphs

So anyway, how would you prefer dealing with the minivect submodule?
We could include it verbatim, with any modifications made to minivect
directly, since we'd have separate git histories. We could
alternatively make it an optional submodule which is only required
when actually using array expressions. I like the latter, but anything
is fine with me really.

Mark
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel


___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel


[Cython] Hashability of Python memoryviews

2012-08-30 Thread Stefan Behnel
Hi,

there's a ticket on the CPython bug tracker where correct hashability of
the "memoryview" type is being discussed. I don't have an opinion on it,
but some of you might. It could translate into a similar feature for
Cython's array and memory view types (no idea if hashability has been
considered there yet).

http://bugs.python.org/issue15814

Stefan
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Hashability of Python memoryviews

2012-08-30 Thread Lisandro Dalcin
On 30 August 2012 14:54, Stefan Behnel  wrote:
> Hi,
>
> there's a ticket on the CPython bug tracker where correct hashability of
> the "memoryview" type is being discussed. I don't have an opinion on it,
> but some of you might. It could translate into a similar feature for
> Cython's array and memory view types (no idea if hashability has been
> considered there yet).
>

readonly != immutable -> unhashable


-- 
Lisandro Dalcin
---
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel