I’ve removed some of the deprecated code that was in (py)pubsub and made a few minor enhancements. All unit tests pass, some users on pubsub forums have already tested with their apps and no issues.
If you know how to use SVN, you can test your wxPython app with latest pubsub:
rename your old pubsub folder (such as wx/lib/pubsub or /lib/site-packages/pubsub) so you can later return to that version
copy svn’d pubsub (pubsub-code) to same location and rename to pubsub
If you had the line “from pubsub import setupv1” anywhere in your application, you must change it to “from pubsub import setuparg1” instead
run your app
if you did the change from v1 -> arg1 (step 4) and you get errors in step 5, take a look at page http://pubsub.sourceforge.net/recipes/upgrade_v1tov3.html which describes a few other minor changes you may have to make but it shoud take you a couple minutes no more since you can use search/replace.
I’ve removed some of the deprecated code that was in (py)pubsub and made a few minor enhancements. All unit tests pass, some users on pubsub forums have already tested with their apps and no issues.
If you know how to use SVN, you can test your wxPython app with latest pubsub:
rename your old pubsub folder (such as wx/lib/pubsub or /lib/site-packages/pubsub) so you can later return to that version
copy svn’d pubsub (pubsub-code) to same location and rename to pubsub
If you had the line “from pubsub import setupv1” anywhere in your application, you must change it to “from pubsub import setuparg1” instead
run your app
if you did the change from v1 → arg1 (step 4) and you get errors in step 5, take a look at page http://pubsub.sourceforge.net/recipes/upgrade_v1tov3.html which describes a few other minor changes you may have to make but it shoud take you a couple minutes no more since you can use search/replace.