Rob Williscroft wrote: > Steven Bethard wrote in news:[EMAIL PROTECTED] > in comp.lang.python: > >> Open Issues >> =========== >> >> Does the ``make`` keyword break too much code? Originally, the make >> statement used the keyword ``create`` (a suggestion due to Nick >> Coghlan). However, investigations into the standard library [4]_ and >> Zope+Plone code [5]_ revealed that ``create`` would break a lot more >> code, so ``make`` was adopted as the keyword instead. However, there >> are still a few instances where ``make`` would break code. Is there a >> better keyword for the statement? >> > > I don't know wether this has been suggested or not, but > what about def: > > def namespace ns: > x = 1 > > def type blah(object): > pass > > def property x: > def get(): > return ns.x
I think that's probably a bad idea because it would make people think that the statement acts like a function definition, when it actually acts like a class definition. STeVe -- http://mail.python.org/mailman/listinfo/python-list