[Python-ideas] PEP 3155 - Qualified name for classes and functions

Guido van Rossum guido at python.org
Sun Nov 6 02:37:14 CET 2011


On Sat, Nov 5, 2011 at 3:31 PM, Nick Coghlan <ncoghlan at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20111105/4245aed7/attachment.html>


More information about the Python-ideas mailing list