[Python-Dev] Adding types.build_class for 3.3
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu May 10 02:03:24 CEST 2012
Nick Coghlan wrote:
> In that case, consider me convinced: static method it
> is.
-0.93. Static methods are generally unpythonic, IMO.
Python is not Java -- we have modules. Something should
only go in a class namespace if it somehow relates to
that particular class, and other classes could might
implement it differently. That's not the case with
build_class().
--
Greg
More information about the Python-Dev
mailing list