from future import pass_function

John Ladasky john_ladasky at
Fri Jul 27 00:20:03 CEST 2012

On Thursday, July 26, 2012 2:23:02 PM UTC-7, Ethan Furman wrote:

> That's a reasonable thing to want, and quite easily accomplished by 
> passing `lambda: None`  or `lambda *args, **kwargs: None` instead.

That's the same solution that Steven D'Aprano proposed the last time we had this discussion.  Which, I agree, is reasonable (although I continue to have a certain instinctive aversion to lambda).

More information about the Python-list mailing list