Re: [Cython] Some bugs found while testing cython on django

2011-06-19 Thread Jon Olav Vik
Vitja Makarov writes: > 1. It seems that cython currently doesn't support tuples inside args definition: > def foo((a, b), c): Note that this feature is removed in Python 3. http://www.python.org/dev/peps/pep-3113/ ___ cython-devel mailing list cyth

Re: [Cython] cython.parallel tasks, single, master, critical, barriers

2011-10-09 Thread Jon Olav Vik
On Sun, Oct 9, 2011 at 2:57 PM, Dag Sverre Seljebotn wrote: >>> with parallel.single(): >>> same as master, except any thread may do the execution >>> >>> An optional keyword argument 'nowait' specifies whether there will be a >>> barrier at the end. The default is to wait. > > I like > > if paral

Re: [Cython] cython.parallel tasks, single, master, critical, barriers

2011-10-09 Thread Jon Olav Vik
On Sun, Oct 9, 2011 at 9:01 PM, mark florisson wrote: > On 9 October 2011 19:54, Jon Olav Vik wrote: >> Personally, I think I'd prefer context managers as a very >> readable way to deal with parallelism > > Yeah it makes a lot of sense for mutual exclusion, but 'm