You are not logged in Log in Join
You are here: Home » Members » tim_one » Python wrapper for Spread » swpackage_view

Log in



Python wrapper for Spread

This is a Python extension module wrapping the C API for Spread, an open source group communications package. The extension module was written by PythonLabs, primarily Jeremy Hylton, Guido van Rossum and Tim Peters. It is released under a standard PSF open source license.

Older releases and general information can be found at the Spread wrapper module's original home on


Version 1.5 of the wrapper module is intended to be used with Spread 3.17.3. On Windows, there are two installers, one for use with the Python 2.3 line (2.3.5 is recommended), the other with the Python 2.4 line (2.4.1 is recommended).

What's new in 1.5 final?

No changes were made since 1.5 beta 1. Compared to 1.4 final:

  • Mailbox objects have a new multigroup_multicast() method, wrapping the Spread API's SP_multigroup_multicast() call. Thanks to Mark McClain for contributing code, docs, and tests for this new feature.
  • The C code was changed to suppress a nuisance warning from gcc.
  • Zope collector issue 1130: "spreadmodule.c contains improper use of the sizeof operator"

    Spread membership messages are complicated, and before Spread 3.17 it wasn't actually possible to decode them correctly in all cases. For example, if the user changed Spread's MAX_PRIVATE_NAME, MAX_PROC_NAME, and MAX_GROUP_NAME #defines, there was no way to guess where various values began in the buffer SP_receive() was given, and segfaults or data loss could occur if you guessed wrong.

    This wasn't entirely fixed until Spread 3.17.2 (Spread itself could still segfault if the user changed these #defines), but at least 3.17 introduced 3 new Spread API functions so that clients can determine where fields in the buffer begin. The Python Spread wrapper module has been updated to use them.

  • The module version() function is now documented.
  • Changes to the build procedure on Windows for Spread 3.17.3 were incorporated (the names of some Spread files on Windows changed to match the names of corresponding files in non-Windows builds).

CVS access

The source code for the Python Spread wrapper module is maintained on Zope Corporation's CVS server,, under Packages/Spread.


This product uses software developed by Spread Concepts LLC for use in the Spread toolkit. For more information about Spread see

Latest Release: 1.5.0final
Last Updated: 2005-01-25 14:15:01
Author: tim_one
License: Other
Maturity: Stable

Available Releases

Version Maturity Platform Released
SpreadModule-1.5 Stable   2005-01-25 00:00:00
  SpreadModule-1.5.tgz (18 K) All md5
  SpreadModule-1.5.win32-py2.3.exe (72 K) i386 md5
  SpreadModule-1.5.win32-py2.4.exe (77 K) i386 md5
1.5.0b1 Development   2005-01-18 00:00:00
  SpreadModule-1.5b1.tgz (18 K) All md5
  SpreadModule-1.5b1.win32-py2.3.exe (72 K) i386 md5
SpreadModule-1.5a1 Development   2005-01-05 00:00:00
  SpreadModule-1.5a1.tgz (17 K) All md5
  SpreadModule-1.5a1.win32-py2.3.exe (72 K) i386 md5