> The problem is not merely related to the number of lines of code. It is a
> readibility problem. Having the callback enclosed in a the function call
> which registers it makes the code more readable than defining the callback
> beforehand.

And, unless I'm missing something, much harder to unit test. Is that
really worth encouraging for handlers with complexity beyond the
current lambda?

-- 
Michael Urman  http://www.tortall.net/mu/blog
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to