On Sat, Nov 5, 2011 at 3:31 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:

I think you're all overthinking this. We want a notation that:
1. Makes it clear attribute access won't work
2. Indicates where the nested definition really lives
3. Gives a reasonable error message if you do try to evaluate it

"f.<locals>.g" ticks all those boxes, so it's fine.


+1. Let's stop the bikeshedding.

--
--Guido van Rossum (python.org/~guido)