[Python-ideas] Add kwargs to built-in function object

Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 23 00:29:59 CEST 2008


Calvin Spealman wrote:

> and remember, object is not a function. It is a type. It is the base  
> type of all types and so this has implications beyond what you  suggest 
> it for.

Another serious consequence is that supporting this would
require the object type to have a __dict__, which would
force *all* types, including the built-in ones, to have
the overhead of a __dict__ as well.

-- 
Greg



More information about the Python-ideas mailing list