Vote to Add Python Package "pubsub" to the Python Standard Library

Vinay Sajip vinay_sajip at yahoo.co.uk
Thu Jun 3 11:46:03 EDT 2010


On Jun 2, 4:09 am, Carl Banks <pavlovevide... at gmail.com> wrote:

> I think it has a pretty good chance of being accepted, too.  The
> publish-subscribe pattern, if you will, seems to have been implemented
> separately in many places.  The logging module in the standard library
> uses something like this.

Only in a very general sense, if you mean the separation of concerns
between loggers and handlers. There isn't a general-purpose pub/sub
infrastructure built into it.

Of course, pub/sub is just one type of message architecture. I would
say that it would be nice to have a Python messaging package which had
pub/sub as one of several different approaches - which is often done
these days using things like RabbitMQ. Are there any such (pure-Python
or Python + C) packages out there which are generally accepted as
being head and shoulders above others in the same category?

It may be too early to bless any one messaging package for the stdlib
- "let a thounsand flowers bloom" and all that. In any case, stdlib
inclusion can be a double-edged sword in terms of backward-
compatibility constraints, leading to reduced developer/maintainer
flexibility going forward.

Regards,

Vinay Sajip



More information about the Python-list mailing list