Dag Sverre Seljebotn wrote: > Dag Sverre Seljebotn wrote: >> Christopher Barker wrote: >>> Dag Sverre Seljebotn wrote: >>>> (It would be great if this was added to the FAQ, it tends to come up a >>>> lot. >>> Done: >>> >>> http://wiki.cython.org/FAQ#WhydoesafunctionthatIhaveprovidedcdef.27dparametertoacceptNone.3F >>> >>> Could someone check for accuracy? >>> >>>> Perhaps we should switch to making nonecheck the default?) >>> I'd rather have "not None" the default, but there is backwards >>> compatibility to consider. Does the Cython project have any policy about >>> deprecation procedures? >> (Well, at least two people (myself and Robert) has opposed this being >> the default (and not for reasons of backwards compatability!), so I >> don't think we're at the stage where we can discuss deprecation just yet >> :-)) > > In fact, I think I remember me and Robert discussing the possibility of > deprecating the "not None" feature from Cython instead at some point > (though I might be mistaken here). If a faster "nonecheck" was added > then "not None" would be a really redundant part of the language. > > So I wouldn't phrase the FAQ entry just like that myself, although the > important thing is that something got added :-( Thanks! (If something
Whoops. I got the smiley the wrong way, it should be ":-)" !! Your effort is appriciated! -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
