[docs] [issue26821] array module "minimum size in bytes" table is wrong for int/long

Georg Brandl report at bugs.python.org
Fri Apr 22 01:08:56 EDT 2016


Georg Brandl added the comment:

Indeed, I don't think the `array` module is much used anymore.

If you're looking to serialize or deserialize fixed-size formats, you'll probably want the `struct` module.  It has both native and fixed-size modes.

For anything else involving arrays (mostly, but not exclusively, of numbers), just use numpy.  It has a much more developed system of data types for its arrays, and supports views.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26821>
_______________________________________


More information about the docs mailing list