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

Jan Kaliszewski zuo at chopin.edu.pl
Mon Nov 7 22:48:16 CET 2011


Éric Araujo dixit (2011-11-07, 18:00):

> Le 07/11/2011 17:25, Barry Warsaw a écrit :
> > On Nov 07, 2011, at 05:19 PM, Éric Araujo wrote:
> >> OTOH, qname will be easily found in search engine
> > Are you sure about that?  I.e. have you tried it?
> I did, and it made me remember why I didn’t find “qname” cryptic: It is
> used by XML specs (Antoine, you could mention that in the PEP).  Top
> Google results for “python qname” are XML-related.
> 
> More:
> http://en.wikipedia.org/wiki/QName
> http://en.wikipedia.org/wiki/Fully_qualified_name
> 
> (#include <disclaimer about wikipedia not being authoritative>)
> 
> > "scoped" could also be used instead of "qualified".
> You truly are a great name generator!  +1 to either.

But without the underscore in the middle, please. We have
__getattribute__ and __deepcopy__, not __get_attribute__ and
__deep_copy__.

Cheers.
*j




More information about the Python-ideas mailing list