bastienleonard / pysfml-cython

A Python 2/3 binding for SFML 2, written with Cython
http://pysfml2-cython.readthedocs.org/
Other
68 stars 8 forks source link

Internal function convert_to_vector2f()'s exceptions get ignored #23

Closed bastienleonard closed 12 years ago

bastienleonard commented 12 years ago

When it's passed an argument with the wrong type, the exception it raises gets ignored. It probably needs an except clause in its signature, see http://docs.cython.org/src/reference/language_basics.html#error-and-exception-handling

Similar cdef functions probably need the same kind of change.