This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: array.array accepting byte-order codes in format strings
Type: enhancement Stage:
Components: Extension Modules Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Zoinkity..
Priority: normal Keywords:

Created on 2015-12-17 20:18 by Zoinkity.., last changed 2022-04-11 14:58 by admin.

Messages (1)
msg256614 - (view) Author: Zoinkity . (Zoinkity..) Date: 2015-12-17 20:18
I'd like to propose allowing the use of byte-order characters in the typecode string used by the array.array class.  

This removes any ambiguity on the order of the data, especially when that data is not known and loaded from an outside source.  You wouldn't need to presume little or big endian machine byteorder or test the system to determine this.  Also, it removes the necessity of byteswapping data that isn't in the correct order.
History
Date User Action Args
2022-04-11 14:58:25adminsetgithub: 70084
2015-12-17 20:18:44Zoinkity..create