Werner
--
You received this message because you are subscribed to the Google Groups "pypubsub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypubsub+unsubscribe@googlegroups.com.
To post to this group, send email to pypu...@googlegroups.com.
Visit this group at http://groups.google.com/group/pypubsub.
For more options, visit https://groups.google.com/groups/opt_out.
Forgot to mention, I will create a github repo for pubsub for wxpython. All project management for pubsub (bug tracking etc) will remain on SF.net but this will make it easy for me to release pubsub to wxpython (i'll just push latest SVN to github), and for wxpython developers to pull it when needed.
P.s. the doc standards link is wrong, can you resend
On Fri, Feb 14, 2014 at 1:00 AM, oliver <oliver.s...@gmail.com> wrote:
Hi Werner, I appreciate the offer but again this seems like a big duplication of effort, the users should be referred to pubsub.sourceforge.net, is structured correctly (only exposes what typical/power user would need, but not the guts like core), examples and such The core should not be documented for wxpython users. So all that work you are doing or wishing has already been done. Let's find another way to handle this.
""" One listener is subscribed to a topic called 'rootTopic'. One 'rootTopic' message gets sent. """ from pubsub import pub # ------------ create a listener ------------------ def listener1(arg1, arg2=None): print 'Function listener1 received:' print ' arg1 =', arg1 print ' arg2 =', arg2 # ------------ register listener ------------------ pub.subscribe(listener1, 'rootTopic') #---------------- send a message ------------------ print 'Publish something via pubsub' anObj = dict(a=456, b='abc') pub.sendMessage('rootTopic', arg1=123, arg2=anObj)
Oliver
On Wed, Feb 12, 2014 at 8:11 AM, Werner <wern...@gmx.ch> wrote:
Hi,
Any plans to adapt more Phoenix style doc strings?
Especially the module doc strings should be enhanced to make listings like this nicer and more usefull.
http://wxpython.org/Phoenix/docs/html/lib.pubsub.core.html#module-lib.pubsub.core
The initial page:
http://wxpython.org/Phoenix/docs/html/lib.pubsub.html
would be nice to be updated and to include a sample or two on how to use pubsub, or maybe even having some samples.
The doc standard used is explained here:
http://wxpython.org/Phoenix/docs/html/lib.pubsub.html
I would be willing to help on this effort and could provide e.g. pull requests or if you stay on SVN patches - but it would be nice if you moved to git (http://sourceforge.net/p/forge/documentation/Git/#management) when you have a spare moment:-) .
Werner
--
You received this message because you are subscribed to the Google Groups "pypubsub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypubsub+u...@googlegroups.com.
To post to this group, send email to pypu...@googlegroups.com.
Visit this group at http://groups.google.com/group/pypubsub.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
You received this message because you are subscribed to the Google Groups "pypubsub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypubsub+u...@googlegroups.com.
Hi Werner, sorry for some reason I never got notice of these postings and relied on notification in my gmail as I don't check the forum's website very often. In any case, is the below still an issue? It will complicate things. I would rather put links at the module level, this way it is one extra click and no duplication.
On Wednesday, 12 February 2014 08:11:14 UTC-5, werner wrote:Hi,
Any plans to adapt more Phoenix style doc strings?
Especially the module doc strings should be enhanced to make listings
like this nicer and more usefull.
http://wxpython.org/Phoenix/docs/html/lib.pubsub.core.html#module-lib.pubsub.core
The initial page:
http://wxpython.org/Phoenix/docs/html/lib.pubsub.html
would be nice to be updated and to include a sample or two on how to use
pubsub, or maybe even having some samples.
The doc standard used is explained here:
http://wxpython.org/Phoenix/docs/html/lib.pubsub.html
I would be willing to help on this effort and could provide e.g. pull
requests or if you stay on SVN patches - but it would be nice if you
moved to git
(http://sourceforge.net/p/forge/documentation/Git/#management) when you
have a spare moment:-) .
Werner
--
You received this message because you are subscribed to the Google Groups "pypubsub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypubsub+u...@googlegroups.com.
To post to this group, send email to pypu...@googlegroups.com.
Visit this group at http://groups.google.com/group/pypubsub.
For more options, visit https://groups.google.com/d/optout.
Ok I'll add something and you can tell me if that fits