A critic of Guido's blog on Python's lambda

Paul Rubin http
Tue May 9 16:03:59 EDT 2006


aleax at mac.com (Alex Martelli) writes:
> I think it's reasonable to make a name a part of functions, classes and
> modules because they may often be involved in tracebacks (in case of
> uncaught errors): to me, it makes sense to let an error-diagnosing
> tracebacks display packages, modules, classes and functions/methods
> involved in the chain of calls leading to the point of error _by name_.

But it would be even nicer if the traceback could point back to the
exact location in the source code where the function definition
occurred, and that wouldn't need any name for the function.



More information about the Python-list mailing list