Re: [Cython] Cython 0.20 beta 2

2014-01-12 Thread Stefan Behnel
Robert Bradshaw, 12.01.2014 08:53: > There was a lot of bugfixes and other good stuff on master, so I > pulled it in and am releasing another beta. You can find it at > http://cython.org/release/Cython-0.20b2.tar.gz . I don't anticipate > merging master again before the release, so this is nearly a

[Cython] tp_alloc() vs. object.__new__() (was: Cython 0.20 beta 2)

2014-01-12 Thread Stefan Behnel
Stefan Behnel, 12.01.2014 09:20: > The only thing that is still a bit unclear to me is whether calling > object.__new__() from extension types was a good idea: > > https://github.com/cython/cython/commit/ddaffbe78c06e580ca0d9cd334c7a28a4de5c40b > > It means that we are now running a couple of saf

Re: [Cython] tp_alloc() vs. object.__new__() (was: Cython 0.20 beta 2)

2014-01-12 Thread Robert Bradshaw
On Sun, Jan 12, 2014 at 1:21 AM, Stefan Behnel wrote: > Stefan Behnel, 12.01.2014 09:20: >> The only thing that is still a bit unclear to me is whether calling >> object.__new__() from extension types was a good idea: >> >> https://github.com/cython/cython/commit/ddaffbe78c06e580ca0d9cd334c7a28a4d

Re: [Cython] [cython-users] which __new__ to use?

2014-01-12 Thread Stefan Behnel
Stefan Behnel, 11.01.2014 06:46: > Nils Bruin, 11.01.2014 00:38: >> In Objects/typeobject.c:2895 I find: >> >> static PyObject * >> object_new(PyTypeObject *type, PyObject *args, PyObject *kwds) >> { >> int err = 0; >> if (excess_args(args, kwds)) { >> if (type->tp_new != object_new

[Cython] libimobiledevice build broken by 0.20b2

2014-01-12 Thread Julian Taylor
Hi, libimobiledevice cython file fails to build with cython git head and 0.20b2. It works with older versions, the bad commit in cython is: commit db5d5a41b852fa32876688198e3d2d46f12de858 Author: Robert Bradshaw Date: Mon Dec 30 22:24:04 2013 -0800 Fix bug when base classes were declared ou

[Cython] h5py build broken by 0.20b2

2014-01-12 Thread Julian Taylor
Hi, a h5py cython file fails to build with cython git head and 0.20b2. It works with older versions. This file fails The offending file seems to be: https://github.com/h5py/h5py/blob/master/h5py/h5p.pyd cython h5py/h5p.pyx Error compiling Cython file: -