[Types-sig] Scarecrow Proposal

Barry A. Warsaw bwarsaw@cnri.reston.va.us (Barry A. Warsaw)
Tue, 24 Nov 1998 17:55:50 -0500 (EST)


    JF> Note that signatures will *not* be available as attributes of
    JF> the interface.  For example:

    |   class FooInterface(Interface):
    |      def spam(a, b): 
    |         "blah blah blah :)"

    JF>   FooInterface.spam # raises an attribute error

Why?  Doesn't it make sense for introspection purposes to have access
to the methods defined in an interface through the interface object?
 
-Barry