[Python-Dev] Re: an idea for improving struct.unpack api

Martin Bless m.bless at gmx.de
Thu Jan 6 22:40:36 CET 2005


On Wed, 5 Jan 2005 21:27:16 -0800 (PST), Ilya Sandler
<ilya at bluefir.net> wrote:

>The current struct.unpack api works well for unpacking C-structures where
>everything is usually unpacked at once, but it
>becomes  inconvenient when unpacking binary files where things
>often have to be unpacked field by field.

It may be helpful to remember Sam Rushings NPSTRUCT extension which
accompanied the Calldll module of that time (2001). Still available
from

http://www.nightmare.com/~rushing/dynwin/

mb - Martin



More information about the Python-Dev mailing list