On Fri, Jun 13, 2008 at 12:14 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 9:42 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: >> On Fri, Jun 13, 2008 at 11:40 AM, Raymond Hettinger <[EMAIL PROTECTED]> >> wrote: >>>> Nick> def getName(self): >>>> Nick> assert self.__initialized, "Thread.__init__() not called" >>>> Nick> return self.__name >>> >>> Why is __name private to begin with? Any reason for the getters and >>> setters? Why isn't this just an attribute? >> >> In 3.x, it's just an attribute. > > Oh, is it? Where's the PEP with the API redesign? Did I miss some kind > of decision-making process, weighing compatibility concerns against > other issues?
meaning that it only has one underscore. They methods still live. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com