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

random832 report at bugs.python.org
Thu Apr 21 16:36:08 EDT 2016


random832 added the comment:

It says *minimum* size for a reason. The *actual* sizes of the types used in array are platform-dependent. 2 is the smallest that an int can be (it is probably not that size on any currently supported platforms, but would have been in DOS), and 4 is the smallest size a long can be (any 32-bit python build, and I think also any build on Windows, will have it be this size).

----------
nosy: +random832

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


More information about the Python-bugs-list mailing list