Manuel Jacob added the comment:

The attached patch fixes the crash.

Output:
>>> from array import array
>>> str(array('u', b'asdf'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: character U+66647361 is not in range [U+0000; U+10ffff]

----------
keywords: +patch
Added file: http://bugs.python.org/file29109/issue17223.diff

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

Reply via email to