[wxPython-dev] Separating pubsub?

Stephen Waterbury stephen.c.waterbury at nasa.gov
Wed Jun 13 13:15:29 PDT 2007


Robin Dunn wrote:
> Bill Baxter wrote:
>> Hi all,
>> The wx.lib.pubsub module looks to be completely independent of
>> wxWidgets/wxPython.  It seems to be a useful library in and of its own
>> right.  What would you think of breaking it out into a separately
>> downloadable entity?
> 
> It's worth considering.

I'd recommend looking at the "Louie" package:

http://louie.berlios.de/
http://cheeseshop.python.org/pypi/Louie [for download]

... which does essentially the same thing (it uses weak refs, too).
I've been using Louie along with my wxPython app for some time
without problems, and I like the way this preserves orthogonality
between my app's publish/subscribe architecture and its GUI
aspect.

If there is something in pubsub that Louie doesn't do, send a
patch to Patrick K. O'Brien or Mike Fletcher.  ;)

Cheers,
Steve
-- 
"The opinions expressed above do not reflect official NASA policies
  or positions, and have not been reviewed by any Government authority."




More information about the wxpython-dev mailing list