New submission from Craig McQueen <pyt...@craig.mcqueen.id.au>:

The type codes for array.array are platform-dependent.

The type codes are similar to those for the struct module. It would be helpful 
for array.array to adopt the struct module's "=" format specifier prefix, to 
specify "standard" sizes. E.g.

    array_object = array.array("=L")  # 4-byte elements on all platforms

----------
components: Library (Lib)
messages: 108501
nosy: cmcqueen1975
priority: normal
severity: normal
status: open
title: Standard type codes for array.array, same as struct
type: feature request
versions: Python 3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9066>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to