Stefan Behnel wrote: > Dag Sverre Seljebotn, 08.12.2009 13:54: > >> Stefan Behnel wrote: >> >>> Robert Bradshaw, 08.12.2009 00:41: >>> >>> >>>> cython.infer_types(None) # the default, "safe" inference. >>>> >>>> >>> Note how "infer_types(None)" basically reads "do not do any type inference" >>> in the source that uses it. However, that would be "infer_types(False)". >>> >>> >> Just to make a point, I think it should be >> >> - infer_types(True) - unsafe mode >> - infer_types(False) - backwards-compatible mode >> - _hidden_developers_only_directive_turn_off_inference_completely(True) >> - absolutely no inference >> > > But then, the directive is not "infer_types" but "infer_unsafe_types", > "infer_c_types" or "infer_backwards_incompatible_types". > Sounds good to me. Perhaps "unsafe_inference".
Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
