[Python-Dev] Adding types.build_class for 3.3
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue May 8 00:59:36 CEST 2012
Nick Coghlan wrote:
> Instead, I'm now thinking we should add a _types C extension module
> and expose the new function as types.build_class(). I don't want to
> add an entire new module just for this feature, and the types module
> seems like an appropriate home for it.
Dunno. Currently the only thing the types module contains is
types. A function would seem a bit out of place there.
I don't think there's too much wrong with putting it in the
operators module -- it's a function doing something that is
otherwise expressed by special syntax.
--
Greg
More information about the Python-Dev
mailing list