Author serhiy.storchaka
Recipients ronaldoussoren, serhiy.storchaka
Date 2017-11-08.23:20:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510183221.28.0.213398074469.issue31988@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import plistlib
>>> plistlib.dumps(bytearray(), fmt=plistlib.FMT_BINARY)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/serhiy/py/cpython/Lib/plistlib.py", line 962, in dumps
    dump(value, fp, fmt=fmt, skipkeys=skipkeys, sort_keys=sort_keys)
  File "/home/serhiy/py/cpython/Lib/plistlib.py", line 955, in dump
    writer.write(value)
  File "/home/serhiy/py/cpython/Lib/plistlib.py", line 703, in write
    self._flatten(value)
  File "/home/serhiy/py/cpython/Lib/plistlib.py", line 741, in _flatten
    if (type(value), value) in self._objtable:
TypeError: unhashable type: 'bytearray'
History
Date User Action Args
2017-11-08 23:20:21serhiy.storchakasetrecipients: + serhiy.storchaka, ronaldoussoren
2017-11-08 23:20:21serhiy.storchakasetmessageid: <1510183221.28.0.213398074469.issue31988@psf.upfronthosting.co.za>
2017-11-08 23:20:21serhiy.storchakalinkissue31988 messages
2017-11-08 23:20:21serhiy.storchakacreate