[Python-Dev] Adding types.build_class for 3.3

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 build_class either a class method or a
>> static method will cause a direct call to type.build_class() 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

AltStyle によって変換されたページ (->オリジナル) /