M.-A. Lemburg wrote: > Wouldn't it be possible to extend the existing buffer type > to meet those standards ? Yes; you then need to change all codecs to return buffers from .encode. Regards, Martin