[Python-ideas] Tweaking closures and lexical scoping to include the function being defined

Eric Snow ericsnowcurrently at gmail.com
Thu Sep 29 20:20:43 CEST 2011


On Thu, Sep 29, 2011 at 11:26 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> And, as I have said several times, I agree closures currently impose
> testability problems, but I think the answer there lies in providing
> better introspection tools to lessen those problems rather than
> advising people not to use closures specifically for those reasons.

+1

>
> Regards,
> Nick.
>
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>



More information about the Python-ideas mailing list