Re: [Cython] OpenMP problem

2011-07-31 Thread Stefan Behnel
mark florisson, 31.07.2011 22:08: I pushed it to release, should I rebase master on release now? Well, so far, the release branch hasn't been used and rc1 was created from master. All current changes in master are either considered safe (by me :) or just fixes that should go into the release.

Re: [Cython] OpenMP problem

2011-07-31 Thread Dag Sverre Seljebotn
That sounds risky; I think we should consider master as non-rebaseable except in emergencies. So fixes should be pushed to release and then merged into master. Of course, for something like this with no development depending on it one can just delay the merge for a day or two in case more fixes

Re: [Cython] OpenMP problem

2011-07-31 Thread mark florisson
On 31 July 2011 21:49, mark florisson wrote: > 2011/7/31 Vitja Makarov : >> I've tried openmp support with simple example: >> >> from cython.parallel cimport prange >> >> def mul(values): >>    ret = 1 >>    for i in prange(values): >>        ret *= i >>    return ret >> >> And cython crashes: >>

Re: [Cython] OpenMP problem

2011-07-31 Thread mark florisson
2011/7/31 Vitja Makarov : > I've tried openmp support with simple example: > > from cython.parallel cimport prange > > def mul(values): >    ret = 1 >    for i in prange(values): >        ret *= i >    return ret > > And cython crashes: > > ((b04e040...)) vitja@vitja-laptop:~/work/cython-vitek/zzz$

[Cython] OpenMP problem

2011-07-31 Thread Vitja Makarov
I've tried openmp support with simple example: from cython.parallel cimport prange def mul(values): ret = 1 for i in prange(values): ret *= i return ret And cython crashes: ((b04e040...)) vitja@vitja-laptop:~/work/cython-vitek/zzz$ make mul.so /usr//bin/python ../cython.py

[Cython] Entry.is_arg question

2011-07-31 Thread Vitja Makarov
What is the meaning of Entry.is_arg flag? For generic python arguments it's set to 0, it makes it very tricky to determinate whether entry is argument: https://github.com/cython/cython/blob/master/Cython/Compiler/FlowControl.py#L515 Can we have is_args flag set for all kind of args? And have all

Re: [Cython] problematic code in C++ pyregr tests

2011-07-31 Thread Vitja Makarov
2011/7/31 Stefan Behnel : > Hi, > > I noticed a couple of problems in the latest pyregr test run for py3k. > > https://sage.math.washington.edu:8091/hudson/job/cython-devel-tests-pyregr-py3k-cpp/951/consoleFull > > 1) test_contextlib.cpp:16926: warning: deprecated conversion from string > constant

[Cython] problematic code in C++ pyregr tests

2011-07-31 Thread Stefan Behnel
Hi, I noticed a couple of problems in the latest pyregr test run for py3k. https://sage.math.washington.edu:8091/hudson/job/cython-devel-tests-pyregr-py3k-cpp/951/consoleFull 1) test_contextlib.cpp:16926: warning: deprecated conversion from string constant to ‘char*’ This repeated warning re

Re: [Cython] Cython 0.15 release

2011-07-31 Thread Stefan Behnel
Vitja Makarov, 31.07.2011 08:35: Anybody noticed problem with py3k: doctest.DocTestCase.Doctest: tp_new.__test__.make_new_untyped (line 132) It seems that error message have changed in new python version, That happens from time to time, yes. In case we provide a similar error message for opt

Re: [Cython] Cython 0.15 release candidate

2011-07-31 Thread Robert Bradshaw
On Thu, Jul 21, 2011 at 4:14 PM, Robert Bradshaw wrote: > Cython has seen an enormous amount of development since 0.14.1. If you > are not already using the latest version from the development > repository, we encourage you to try out the release candidate: > http://cython.org/release/Cython-0.15r

Re: [Cython] Cython 0.15 release candidate

2011-07-31 Thread Robert Bradshaw
On Sat, Jul 30, 2011 at 10:57 AM, Arfrever Frehtes Taifersar Arahesis wrote: > 2011-07-29 23:23:46 Dag Sverre Seljebotn napisał(a): >> Looks very much like a numpy-on-py3 bug to me. > > I have reported: > http://projects.scipy.org/numpy/ticket/1919 > (NumPy-related tests in Cython pass with Python

Re: [Cython] Cython 0.15 release

2011-07-31 Thread Robert Bradshaw
On Sat, Jul 30, 2011 at 11:35 PM, Vitja Makarov wrote: > 2011/7/20 Robert Bradshaw : >> We're long overdue for a release, and this week would be a good one >> for me to push one out. Hudson >> https://sage.math.washington.edu:8091/hudson is looking in pretty good >> shape, and though I know we've