[Cython] Conditional cast and builtin types

Stefan Behnel stefan_ml at behnel.de
Fri Jun 7 14:58:10 CEST 2013


Nikita Nemkin, 07.06.2013 13:14:
> I have just discovered that the following operations do not perform
> any type checking ("?" is ignored):
> 
> <unicode?>obj, <str?>obj, <bytes?>obj, <list?>obj, <dict?>obj.
> 
> Can someone please confirm this as a bug?

I never tried it, but (or rather, therefore) I can well imagine that it
doesn't work. In that case, it's definitely a bug.

Stefan



More information about the cython-devel mailing list