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.

Author vstinner
Recipients benjamin.peterson, brett.cannon, corona10, miss-islington, rhettinger, serhiy.storchaka, vstinner
Date 2019-12-09.13:58:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575899928.56.0.125913752827.issue38916@roundup.psfhosted.org>
In-reply-to
Content
The aliases were deprecated since Python 3.2. It's now time to use the newer names.

array.array.fromstring() implictly converted Unicode to UTF-8:

$ python3
Python 3.7.5 (default, Oct 17 2019, 12:16:48) 
>>> import array
>>> a=array.array('B')
>>> a.fromstring('€uro')
>>> a
array('B', [226, 130, 172, 117, 114, 111])
>>> list('€uro'.encode('utf8'))
[226, 130, 172, 117, 114, 111]

The removal is now documented in 3.7 and 3.8.
History
Date User Action Args
2019-12-09 13:58:48vstinnersetrecipients: + vstinner, brett.cannon, rhettinger, benjamin.peterson, serhiy.storchaka, corona10, miss-islington
2019-12-09 13:58:48vstinnersetmessageid: <1575899928.56.0.125913752827.issue38916@roundup.psfhosted.org>
2019-12-09 13:58:48vstinnerlinkissue38916 messages
2019-12-09 13:58:48vstinnercreate