[Python-Dev] adding Construct to the standard library? (original) (raw)

tomer filiba tomerfiliba at gmail.com
Mon Apr 17 23:38:26 CEST 2006


hello folks

after several people (several > 10) contacted me and said "IMHO 'construct' is a good candidate for stdlib", i thought i should give it a try. of course i'm not saying it should be included right now, but in 6 months time, or such a timeframe (aiming at python 2.6? some 2.5.x release?)

a little intro: "Construct" ( http://pyconstruct.sourceforge.net/) is a library for declaratively defining data structures at the bit-level. these constructs can be used to parse raw data into objects, or build objects into raw data. you can see a couple of examples at http://pyconstruct.wikispaces.com/examples being "data structures" they are not limited to simple structures -- they can be linked lists, for example, or an enitre efl32 file, with sections and pointers (included in the distribution). currently i'm writing a parser of ext2 file systems, to allow inspecting file systems without mounting.

why include Construct?

why not:

so why am i saying this now, instead of waiting a few months for it to maturet? well, i wanted to get feedback. those of you who have seen/used the library, please tell me what you think:

i'm starting this now, in order to have a mature version in the (near) future. thanks,

-tomer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20060417/b08eeed7/attachment.htm



More information about the Python-Dev mailing list