Message12588

Author behackett
Recipients behackett
Date 2019-07-19.02:03:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563501783.76.0.342321198426.issue2788@roundup.psfhosted.org>
In-reply-to
Content
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_202
Type "help", "copyright", "credits" or "license" for more information.
>>> mm = memoryview("foo")
>>> from codecs import utf_8_decode
>>> utf_8_decode(mm)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: utf_8_decode(): 1st arg can't be coerced to String

Python 2.7.16 (default, Jul  5 2019, 09:06:49) 
[GCC 9.1.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> mm = memoryview("foo")
>>> from codecs import utf_8_decode
>>> utf_8_decode(mm)
(u'foo', 3)
History
Date User Action Args
2019-07-19 02:03:03behackettsetrecipients: + behackett
2019-07-19 02:03:03behackettsetmessageid: <1563501783.76.0.342321198426.issue2788@roundup.psfhosted.org>
2019-07-19 02:03:03behackettlinkissue2788 messages
2019-07-19 02:03:03behackettcreate