plugin / intra process communication system

Paul Kölle paul at subsignal.org
Tue Feb 16 10:14:22 EST 2010


Am 15.02.2010 23:12, schrieb Florian Ludwig:
> On Sun, 2010-02-14 at 18:47 +0100, Diez B. Roggisch wrote:
[...]
>> And then of course, this is not really needed. In Python, behavior
>> counts, not type-information. So you can get away without any explicit
>> declared interface. You might chose to not do that, for aestetic
>> reasons, or better documentation. But you aren't forced.
>
> Actually some plugin-systems in python do force you and they check if
> your "implementation" comply with the "interface".
Which is a good thing IMO ;)

> Here is one solution I came up with.
[...]
Can you post working code? It's not clear what "pbus" is and how it works.

cheers
  Paul


> What do you think? Any obvious pitfalls (besides reinventing something)?
>
> Please keep in mind that syntax/api is not "done" or anything its just
> an concept presentation.
>
> Thanks,
> Florian
>
>
>





More information about the Python-list mailing list