keyword args - subclassing built-ins

arthur.siegel at arthur.siegel at
Tue Mar 26 16:36:34 CET 2002

Using keyword args seems to be a no go when subbing at least
numeric type builtins.  This seems to hold even when introducing
**kw down the road in the chain in a class multi-inheriting from a
class derived from a builtin and a classic class.

Or else I'm just confused again.

Is anyone aware of documentation on the use of keywords
with subs of built-ins.

I am aware of the __new__ syntax, and expect my answer might
be there somewhere - but  I am not sure I can get the behavior
I am looking for since __new__ is static.


More information about the Python-list mailing list