On Sat, Dec 20, 2014 at 1:01 AM, Stefan Behnel <stefan...@behnel.de> wrote:
> Kevin Norris schrieb am 20.12.2014 um 01:47:
>> Is this behavior intentional?
>>
>>     >>> from Cython.Build import cythonize
>>     >>> cythonize('/this/file/doesnt/exist.pyx')
>>     []
>
> Yes, it's intentional. The path you pass is actually a glob expression, so
> it may match any number of files.
>
>
>> It would be *really* nice if Cython would raise an exception (or
>> something) in this case.  I just spent 20 minutes trying to puzzle out
>> Cython/Setuptools compatibility when the actual problem was staring me
>> in the face.
>
> I think we should issue a warning if the expression matches nothing at all
> as that's most likely not intended by the user.

I agree. 
https://github.com/cython/cython/commit/1fdd0ca794a31c11a96ff845e003ff2e1917b1e8
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to