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

Antoine Pitrou solipsis at pitrou.net
Thu Nov 10 02:00:42 CET 2011


On Thu, 10 Nov 2011 10:24:18 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
> It seems to me that "implementation name" would work as a term for
> Antoine's PEP as well, since it's about providing enough information
> to locate the actual implementation of the class or function relative
> to the top level of the module.

I don't really follow this reasoning. There is no other object than the
"actual implementation"; __name__ and __q[ual]name__ denote the same
thing. "Implementation name" sounds like a misnomer to me.

If __qname__ is too elliptic, let's settle on __qualname__?

Regards

Antoine.





More information about the Python-ideas mailing list