On Sat, Dec 4, 2010 at 9:25 PM, Dag Sverre Seljebotn
<da...@student.matnat.uio.no> wrote:
> On 12/05/2010 01:27 AM, Ondrej Certik wrote:
>> On Sat, Dec 4, 2010 at 3:38 PM, Vitja Makarov<vitja.maka...@gmail.com>  
>> wrote:
>>
>>> 2010/12/4 Ondrej Certik<ond...@certik.cz>:
>>>
>>>> Hi,
>>>>
>>>> I was missing the option to tell Cython to stop on the first error. So
>>>> I have implemented it:
>>>>
>>>> https://github.com/cython/cython/pull/3
>>>>
>>>> Ondrej
>>>>
>>>>
>>> Hi!
>>>
>>> Is that a good idea to call sys.exit() in Errors.py maybe there is
>>> another way to stop compilation?
>>>
>> Yes, that is something that I was not sure when I coded it, as I am
>> not too familiar with Cython internals.
>>
>
> The usecases are more important than the internals: Imagine for a moment
> what this will to do pyximport, or build systems able to launch Cython
> in-process (SCons, waf).

I've made it raise the same error it does between phases to signal the
compiler should abort.

- Robert
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to