[Python-Dev] Adding types.build_class for 3.3 (original) (raw)

Mark Shannon mark at hotpy.org
Wed May 9 10:29:47 CEST 2012


Nick Coghlan wrote:

On Wed, May 9, 2012 at 5:57 PM, Mark Shannon <mark at hotpy.org> wrote:

As a consequence of this, making buildclass either a class method or a static method will cause a direct call to type.buildclass() to fail as neither class method nor static method are callable. We'll make sure it behaves like a static method, even if it's technically something else under the hood.

What I am saying is that you don't want it to behave like a static method, you want it to behave like a builtin-function.

Cheers, Mark.



More information about the Python-Dev mailing list