> Hello, > > Are there any reasons why Interface methods stubs lack `self` first > parameter? > If they had `self` parameter - they could be copy-pasted into plugins > as-is.
The main reason is that you cannot instantiate the interface class by itself since it has only unbound methods. If the methods were default bound instance methods, then you could instantiate the interface class, which would not make that much of a sense. Regards Carsten -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-...@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.