[Cython] Conditional cast and builtin types
Robert Bradshaw
robertwb at gmail.com
Sun Jun 16 06:53:10 CEST 2013
On Fri, Jun 7, 2013 at 5:58 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> 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.
A slain bug.
https://github.com/cython/cython/commit/d4daf97711f96438291af32d4c422c70bdd8b667
- Robert
More information about the cython-devel
mailing list