Christopher Barker wrote:

> I wonder why anyone would want to check on access -- this is different 
> than bounds checking -- either the code can handle a None, or it can't.

To catch bugs. You're right that correct code shouldn't
need it (unless you catch the exception and do something
else, but I wouldn't recommend that -- testing for None
explicitly beforehand will be much more efficient).

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to