type function does not subtype

Tim Peters tim_one at email.msn.com
Mon Mar 24 04:51:52 CET 2003

[Lenard Lindstrom]
> Would someone please explain why subtyping of type 'function' is not
> permitted in Python 2.3?

Nothing implemented in C is subclassable unless somebody volunteers the work
to make it subclassable; nobody volunteered the work to make the function
type subclassable.  It sure wasn't at the top of my list <wink>.

More information about the Python-list mailing list