Re: [Cython] Memory views: dereferencing pointer does break strict-aliasing rules

2013-10-11 Thread David Cournapeau
On Tue, Jul 2, 2013 at 5:07 PM, Robert Bradshaw wrote: > On Tue, Jul 2, 2013 at 4:54 AM, Yury V. Zaytsev wrote: > > Hi, > > > > The simplest possible program using memory views compiles with a large > > number of warnings for me, even for a rather outdated version of gcc: > > > > def hello(i

Re: [Cython] Error when using Intel icl compiler on Windows

2011-09-13 Thread David Cournapeau
On Tue, Sep 13, 2011 at 12:31 AM, Vitja Makarov wrote: > 2011/9/13 Robert Bradshaw : >> On Mon, Sep 12, 2011 at 7:19 PM, Lisandro Dalcin wrote: >>> On 9 September 2011 05:26, Robert Bradshaw >>> wrote: Does it work with icc if you replace  #   define CYTHON_UNUSED __attribute__ (

Re: [Cython] History of SWIG and applicability to Cython

2011-08-29 Thread David Cournapeau
On Mon, Aug 29, 2011 at 10:31 PM, mark florisson wrote: > On 29 August 2011 19:25, Stefan Behnel wrote: >> Stefan Behnel, 29.08.2011 16:33: >>> >>> here's an interesting history wrap-up of SWIG, by its original author. >>> [...] >> >> And an interesting reply: >> >> http://thread.gmane.org/gmane.

Re: [Cython] Should we drop support for CPython 2.3? (and maybe even 2.4?)

2011-07-30 Thread David Cournapeau
On Sat, Jul 30, 2011 at 6:07 PM, Stefan Behnel wrote: > David Cournapeau, 30.07.2011 10:52: >> >> Python 2.4 is still surprisingly >> common. Working around it for C extensions can be pretty daunting. > > The same applies to Cython, obviously, although I do see the adv

Re: [Cython] Should we drop support for CPython 2.3? (and maybe even 2.4?)

2011-07-30 Thread David Cournapeau
On Sat, Jul 30, 2011 at 5:43 PM, Stefan Behnel wrote: > > This version also was the first one to use an AST for parsing (not sure if > that's interesting for us), and it was the first to ship with ctypes/libffi, > which keeps being considered as a future basis for certain advanced Cython > featur

Re: [Cython] Rewriting/compiling parts of CPython's stdlib in Cython

2011-03-27 Thread David Cournapeau
On Mon, Mar 28, 2011 at 7:39 AM, Sturla Molden wrote: > Cython is, > without comparison, the easiest way of writing C extensions for Python. > FWIW, it's easier to use Cython than ctypes. Using Cython instead of the C > API will also avoid many programming errors, because a compiler does fewer >