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

Created on 2015-12-17 20:18 by Zoinkity.., last changed 2015-12-17 20:18 by Zoinkity...

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.
Date User Action Args
2015-12-17 20:18:44Zoinkity..create