Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array.array accepting byte-order codes in format strings #70084

Open
Zoinkity mannequin opened this issue Dec 17, 2015 · 1 comment
Open

array.array accepting byte-order codes in format strings #70084

Zoinkity mannequin opened this issue Dec 17, 2015 · 1 comment
Labels
extension-modules C modules in the Modules dir type-feature A feature request or enhancement

Comments

@Zoinkity
Copy link
Mannequin

Zoinkity mannequin commented Dec 17, 2015

BPO 25896

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2015-12-17.20:18:44.779>
labels = ['extension-modules', 'type-feature']
title = 'array.array accepting byte-order codes in format strings'
updated_at = <Date 2015-12-17.20:18:44.779>
user = 'https://bugs.python.org/Zoinkity'

bugs.python.org fields:

activity = <Date 2015-12-17.20:18:44.779>
actor = 'Zoinkity..'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules']
creation = <Date 2015-12-17.20:18:44.779>
creator = 'Zoinkity..'
dependencies = []
files = []
hgrepos = []
issue_num = 25896
keywords = []
message_count = 1.0
messages = ['256614']
nosy_count = 1.0
nosy_names = ['Zoinkity..']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue25896'
versions = ['Python 3.6']

@Zoinkity
Copy link
Mannequin Author

Zoinkity mannequin commented Dec 17, 2015

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.

@Zoinkity Zoinkity mannequin added extension-modules C modules in the Modules dir type-feature A feature request or enhancement labels Dec 17, 2015
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-modules C modules in the Modules dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

0 participants