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

Nov. 5, 2011
1:43 a.m.
First of all - hello python-ideas. I liked the look of the archives, so I thought I'd chip in, if it's OK.
xyzzy.<local f>.<local g> or, preferably, xyzzy.<instance.f>.<instance.g> It's non-nested, shows the locality and maps the locality to the variable. If not showing function instances is disliked, maybe drop the period between the function and "<locals>" from yours: xyzzy<locals>.f<locals>.g or, again, xyzzy<instance>.f<instance>.g I think this is just cleaner than: xyzzy.<locals>.f.<locals>.g because it doesn't imply that xyzzy has a single set of locals - especially using <instance>.
4883
Age (days ago)
4883
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joshua Landau