skip to navigation
skip to content

mem package 0.3

Simple-segment buffer interface tools.

The Version 0.3 add four Functions for computing diffs into the tools modules. It also remove support for Python 2.2.

The mem package is a set of extension modules which allow to work on objects memory from Python code. The package contains:

- an object which allow to manage mallocated chunks of memory as a
mutable sequence of bytes.

- a set of functions which work on any objects which define the buffer
API: memcopy, index, memlen, memcmp ...

- a reimplementation of the buffer() built-in object which should
correct it's most annoying problems.
It contains also some pure Python modules:

- an adapter which provide the file interface to any object which
define the buffer API.

- an other adapter for the array interface.