Skip to content

Pypubsub v3.3.0

Compare
Choose a tag to compare
@schollii schollii released this 28 Dec 16:16

Attention:

  • For this release, do not use the files on this page: it appears I created them incorrectly. Use the ones I put on pypi instead: https://pypi.org/project/Pypubsub/3.3.0/#files.
    • For binary dist on Windows use the installer distro, on Linux use the .zip.
    • For the full source, on either platform, use the .zip source from pypi.
  • This release was actually created in Feb 2014, but I created it on SourceForge.net. I moved the pypubsub project to github in Oct 2016. So the creation date in github is misleading, v3.3.0 was released Feb 2014.

Changes:

  • cleanup low-level API: exception classes, moved some out of pub module that did not
    belong there (clutter), move couple modules; specifically:
    • Removed from pub (available on object returned from pub.getDefaultTopicMgr())
      • getOrCreateTopic -> pub.getDefaultTopicMgr().getOrCreateTopic
      • getTopic -> pub.getDefaultTopicMgr().getTopic
      • newTopic -> pub.getDefaultTopicMgr().newTopic
      • delTopic -> pub.getDefaultTopicMgr().delTopic
      • getAssociatedTopics -> pub.getDefaultTopicMgr().getTopics
      • getDefaultTopicTreeRoot -> pub.getDefaultTopicMgr().getRootAllTopics
    • Removed from pub (available from pubsub.core):
      • ITopicDefnProvider
    • Moved from pub into to pubsub.core.TopicDefnProvider class as classmethod:
      • registerTopicDefnProviderType
    • Renamed:
      • TopicNameInvalid -> TopicNameError
      • UndefinedTopic(RuntimeError) -> TopicNameError(ValueError)
      • UndefinedSubtopic(RuntimeError) -> TopicNameError(ValueError)
      • ListenerInadequate(TypeError) -> ListenerMismatchError(ValueError)
      • UnrecognizedImportFormat -> UnrecognizedSourceFormatError
      • ListenerSpecInvalid -> MessageDataSpecError
      • SenderMissingReqdArgs -> SenderMissingReqdMsgDataError
      • SenderUnknownOptArgs -> SenderUnknownMsgDataError
      • ListenerNotValidatable -> TopicDefnErrorcd
    • Changed;
      • Topic.isSendable -> hasMDS
      • TopicManager.??? -> isTopicInUse + hasTopicDefinition
  • completed the ref docs
  • support installation via pip
  • cleanup versioning metadata: use pubsub.version instead of pub.PUBSUB_VERSION
  • support Python 3
  • add getListenersIter() to iterate over listeners without temp copy of listener list
  • add deprecation message when import setuparg1
  • new wxPubsubMonitor utility class