Thursday 11th August 2011 19:51:14, Dag Sverre Seljebotn wrote:
> Error testcases in tests/errors are currently rather inconvenient, since
> changing anything often shifts a lot of error message line numbers.
> Something like this format might be better, where the line number is
> implied from the position of the comment:
> 
> # mode: error
> 
> with nogil:
>      print 1 #ERROR:4:print statement not allowed in nogil block
> 
> I just filed this as http://trac.cython.org/cython_trac/ticket/710

That's a good point. I've started working on it. Actually, runtests.py should 
be split into a module and a public run-main stub, to make it load faster. 
I'll try to cope with this too.

--SKS
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to