[New-bugs-announce] [issue23866] array module broken

Antoine Pitrou report at bugs.python.org
Sat Apr 4 13:41:09 CEST 2015

New submission from Antoine Pitrou:

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'

components: Library (Lib)
messages: 240067
nosy: pitrou, serhiy.storchaka
priority: release blocker
severity: normal
status: open
title: array module broken
type: behavior
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list