On 15/04/10 17:55, Stefan Behnel wrote:

> How about this:
>
>       def func(object obj not None):

I'm not completely sure without trying it, but I think
Pyrex will currently treat this as a compile-time error.
No type checking code is generated for arguments of
type 'object', and I would have to go out of my way to
do so for the special case of 'object not None'.

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

Reply via email to