Hoyt Koepke wrote: > It strikes me that decorators would be a natural way of > handling this
I don't think so, because the None/not None distinction is a decision that needs to be made individually for each parameter -- it's not a property of the function as a whole. > If part of the > reason for switching the default is that writing "not None" for every > argument is awkward No, that's not part of the reason. The reason is that the current default easily leads people to write buggy code. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
