[Python-Dev] adding Construct to the standard library? (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 19 07:02:32 CEST 2006
- Previous message: [Python-Dev] adding Construct to the standard library?
- Next message: [Python-Dev] adding Construct to the standard library?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Travis Oliphant wrote:
For what it's worth, NumPy also defines a data-type object which it uses to describe the fundamental data-type of an array. In the context of this thread it is also yet another way to describe a binary-packed structure in Python.
Maybe there should be a separate module providing a data-packing facility that ctypes, NumPy, etc. can all use (perhaps with their own domain-specific extensions to it).
It does seem rather silly to have about 3 or 4 different incompatible ways to do almost exactly the same thing (struct, ctypes, NumPy and now Construct).
-- Greg
- Previous message: [Python-Dev] adding Construct to the standard library?
- Next message: [Python-Dev] adding Construct to the standard library?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]