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 module broken
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: larry, pitrou, python-dev, serhiy.storchaka
Priority: release blocker Keywords:

Created on 2015-04-04 11:41 by pitrou, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg240067 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2015-04-04 11:41
The array.array constructor has stopped working. I feel like this may be due to the latest Argument Clinic changes.

======================================================================
ERROR: test_create_from_bytes (test.test_array.ByteTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/test/test_array.py", line 1016, in test_create_from_bytes
    a = array.array('H', b"1234")
TypeError: a bytes-like object is required, not 'tuple'
msg240071 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-04-04 14:07
New changeset 973c9ec53bbb by Serhiy Storchaka in branch 'default':
Fixed the array module broken in issue #23492.
https://hg.python.org/cpython/rev/973c9ec53bbb
msg240073 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-04-04 14:10
Thank you Antoine. Fixed.
History
Date User Action Args
2022-04-11 14:58:15adminsetnosy: + larry
github: 68054
2015-04-04 14:10:28serhiy.storchakasetstatus: open -> closed
messages: + msg240073

assignee: serhiy.storchaka
resolution: fixed
stage: resolved
2015-04-04 14:07:58python-devsetnosy: + python-dev
messages: + msg240071
2015-04-04 11:41:09pitroucreate