Re: [Cython] AddTraceback() slows down generators

2012-01-29 Thread Stefan Behnel
Vitja Makarov, 28.01.2012 21:41: > 2012/1/29 Stefan Behnel: >> Vitja Makarov, 28.01.2012 20:58: >>> 2012/1/28 mark florisson: On 28 January 2012 19:41, Vitja Makarov wrote: > 2012/1/28 Stefan Behnel: >> Here's a general take on a code object cache for exception propagation. >>

Re: [Cython] AddTraceback() slows down generators

2012-01-29 Thread Stefan Behnel
Stefan Behnel, 28.01.2012 21:14: > mark florisson, 28.01.2012 20:07: >> On 28 January 2012 18:38, Stefan Behnel wrote: >>> Stefan Behnel, 27.01.2012 09:02: any exception *propagation* is still substantially slower than necessary, and that's a general issue. >>> >>> Here's a general take o

Re: [Cython] AddTraceback() slows down generators

2012-01-29 Thread mark florisson
On 29 January 2012 12:10, Stefan Behnel wrote: > Stefan Behnel, 28.01.2012 21:14: >> mark florisson, 28.01.2012 20:07: >>> On 28 January 2012 18:38, Stefan Behnel wrote: Stefan Behnel, 27.01.2012 09:02: > any exception *propagation* is > still substantially slower than necessary, and

[Cython] Bug in multiplied tuple optimization

2012-01-29 Thread Vitja Makarov
Investigating sage-tests segfaults I found that this code causes sigsegv: def foo(): return (0,) * len('abc') foo() -- vitja. ___ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel

Re: [Cython] Slow traceback reconstruction in IPython between 0.15.1 and master

2012-01-29 Thread Wes McKinney
On Fri, Jan 27, 2012 at 2:40 AM, Stefan Behnel wrote: > Wes McKinney, 26.01.2012 18:56: >> Just wanted to bring this issue to your guys' attention in case you >> knew what was responsible for this: >> >> https://github.com/ipython/ipython/issues/1317#issuecomment-3652550 >> >> I traced down the pr

Re: [Cython] Slow traceback reconstruction in IPython between 0.15.1 and master

2012-01-29 Thread Fernando Perez
On Sun, Jan 29, 2012 at 9:38 AM, Wes McKinney wrote: > More on this > here: > > https://github.com/ipython/ipython/issues/1317 Thanks for your persistence! For those on the cython list, it should be fixed soon, Thomas already has a PR up. Cheers, f _