[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: -

[Cython] remove timestamps from generated source files

2014-01-13 Thread Julian Taylor
ts in Generated by Cython 0.20 (Debian revision 3) Where the vendor id is added via a Distribution patch of the package and none is emitted for upstream builds. (CC. Debian maintainer of Cython for comments) Cheers, Julian Taylor ___ cython-devel mailing list c

Re: [Cython] h5py build broken by 0.20b2

2014-01-13 Thread Julian Taylor
On 13.01.2014 09:26, Stefan Behnel wrote: > Hi, > ... >> >> it was introduced in cython around this commit: >> b6b5152f386ddae503674cc26200a547f3b4c8b0 >> properly handle expressions at the beginning of func/class/etc. blocks >> >> Is this an intentional change? > > Well, yes, but apparently one w

Re: [Cython] remove timestamps from generated source files

2014-01-13 Thread Julian Taylor
On 13.01.2014 22:24, Robert Bradshaw wrote: > The timestamp is in a comment which ccache can strip before looking up > items in the cache; are you sure this is an issue? well this is embarrassing, it indeed strips the comments... The issue was setup.py used a compiler symlink not present in my cca

Re: [Cython] h5py build broken by 0.20b2

2014-01-14 Thread Julian Taylor
On Tue, Jan 14, 2014 at 6:32 AM, Robert Bradshaw wrote: > I've verified that Stefan's latest fix lets h5py compile. > > confirmed, that the new fix works, I guess it is: https://github.com/cython/cython/commit/714f5e86b23fee295bb6a05b83a6d1031e0439d7 thanks there are a bunch of uninitialized use

Re: [Cython] libimobiledevice build broken by 0.20b2

2014-01-14 Thread Julian Taylor
On Tue, Jan 14, 2014 at 9:20 AM, Robert Bradshaw wrote: > > > Thanks for the report! Looks like it's a bunch of pxi files with class > definitions that get included, fixed via > > https://github.com/cython/cython/commit/27a95b9bdcdc45e95209ec92e546c0e439ecd2c9 > > > confirmed that the cython buil

[Cython] bytearray tests fail with default unsigned char

2014-01-21 Thread Julian Taylor
hi, the bytearray tests are broken when chars are unsigned. tests/run/bytearraymethods.pyx defines following function: def bytearray_append(b, char c, int i, object o): this gets converted to an effective __Pyx_PyInt_AsUnsignedChar which then errors out when -1 is passed in. chars are unsigned li

[Cython] 0.20 tests fail with python3.4b2

2014-01-24 Thread Julian Taylor
hi, with python3.4b2 numpy_memoryview.acquire_release_cycle fails looking at the source the test should be disabled, but its still run. This might be a py3.4 change to doctest, but I know nothing about doctest, so I wanted to check first if you know something about this. Interestingly py3.4 runs

Re: [Cython] License information on each individual files

2014-07-18 Thread Julian Taylor
On 19.07.2014 00:12, Nathaniel Smith wrote: > On Fri, Jul 18, 2014 at 10:53 PM, Robert Bradshaw > wrote: > > On Fri, Jul 18, 2014 at 2:28 PM, Nathaniel Smith > wrote: > > On Fri, Jul 18, 2014 at 10:13 PM, Sturla Molden >

Re: [Cython] Cython bugfix release

2014-07-21 Thread Julian Taylor
I haven't tried it but its possibly related to the C locale the debian builders use. Try with LC_ALL=C @Yaroslav if this the the case, the workaround would be building with LC_ALL=C.UTF-8 On 21.07.2014 19:46, Robert Bradshaw wrote: > I wasn't able to reproduce this myself, which is why I haven't

Re: [Cython] aritmetic with arrays in Cython

2014-08-05 Thread Julian Taylor
On 04.08.2014 21:11, Ian Henriksen wrote: > Hi all, > I noticed that some time ago there was a pull request > (https://github.com/cython/cython/pull/144) open that was trying to > implement basic arithmetic operations with arrays. This seems to have > also been proposed in CEP 518 > (https://github

Re: [Cython] aritmetic with arrays in Cython

2014-08-08 Thread Julian Taylor
On 08.08.2014 19:36, Stefan Behnel wrote: > Hi, > > please don't top-post. > > Ian Henriksen schrieb am 08.08.2014 um 18:47: >> I'd like to work on it. That was why I asked. It's been bothering me for >> some time that we don't have this feature yet. This will take me some time >> though since I'

[Cython] git master fails to compile scipy

2015-10-10 Thread Julian Taylor via cython-devel
hi, since ab78f93b3ffa88183a0d2aae6b692e394c51f860 scipy does not build anymore: the failing file is: https://github.com/scipy/scipy/blob/master/scipy/sparse/csgraph/_reordering.pyx error: Traceback (most recent call last): File "/usr/bin/cython", line 8, in main(command_line = 1) File "/

Re: [Cython] git master fails to compile scipy

2015-10-11 Thread Julian Taylor via cython-devel
ne 5157, in analyse_types overloaded = lhs.type.is_cpp_class and env.lookup_operator('=', [lhs, self.rhs]) AttributeError: 'NoneType' object has no attribute 'is_cpp_class' On 11.10.2015 07:30, Robert Bradshaw wrote: > Thanks for the report. This should be fixed