[Cython] Cythonize silently ignores nonexistent files

2014-12-20 Thread Kevin Norris
Is this behavior intentional?

>>> from Cython.Build import cythonize
>>> cythonize('/this/file/doesnt/exist.pyx')
[]

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.

--
Kevin Norris
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Cythonize silently ignores nonexistent files

2014-12-20 Thread Stefan Behnel
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.

Stefan

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] [cython-users] is there a schedule for next cython update (0.21.2) ?

2014-12-20 Thread Stefan Behnel
stonebi...@gmail.com schrieb am 20.12.2014 um 10:14:
> I see a lot of commits since 0.21.1.

Well, there are about five commits in the 0.21.x branch.


> Wouldn't it be time to do an incremental release ?

Yes, getting these fixes out would be good.

Also, the master branch looks pretty ok, it might be ready for a beta
release as well.

Stefan

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


[Cython] GvR on type hinting in Python

2014-12-20 Thread Stefan Behnel
Looks like type annotations in Python are about to leave the "maybe one
day" status:

http://thread.gmane.org/gmane.comp.python.ideas/30432

Stefan
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel