Robert Bradshaw, 09.07.2010 17:29:
> For the moment, though, I'm wondering why we even bother letting
> people declare the type as bool--it's not a very useful (Python) type
> to statically declare, but can cause a lot of confusion.

We have to take care not to break the 'bool' builtin, though, i.e. code 
like this must continue to work:

     x = bool(obj)
     assert isinstance(x, bool)

Stefan
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to