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

Barry Warsaw barry at python.org
Mon Nov 7 16:34:24 CET 2011


On Oct 30, 2011, at 12:18 AM, Antoine Pitrou wrote:

>I would like to propose the following PEP for discussion and, if
>possible, acceptance. I think the proposal shouldn't be too
>controversial (I find it quite simple and straightforward myself :-)).

Nice PEP, and +1 for the concept (with Guido's preferred format).  However,
"qname" is pretty obscure and I only guessed what the "q" stood for by reading
the title of the PEP.

It seems to me that this attribute represents the dotted path from module
globals to the object.  You have to be careful not to confuse this with a file
system path, so something like __dotted_name__, __dotted_path__, or
__full_name__ perhaps.  I don't much care, but I do think cryptic
abbreviations should be avoided.

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20111107/02f38a05/attachment.pgp>


More information about the Python-ideas mailing list