On Mon, 7 Nov 2011 10:34:24 -0500 Barry Warsaw <barry@python.org> wrote:
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.
Based on the feedback received, I've finally changed the attribute name to __qualname__. Pronunciation issues notwithstanding ;-), it is a reasonable compromise between explicitness and shortness/easy-of-typing. Regards Antoine.