Message12386

Author jeff.allen
Recipients jeff.allen
Date 2019-03-22.07:31:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553239907.65.0.999261805166.issue2744@roundup.psfhosted.org>
In-reply-to
Content
I noticed, when updating test_marshal, that we skip remove test_buffer in StringTestCase, and if we don't skip, it fails.

I'm making this a FIXME skip. buffer objects (and all types with the buffer interface, I think), are emitted as str (bytes). Python 2:

>>> from marshal import dumps, loads
>>> a = bytearray("hello")
>>> loads(dumps(a))
'hello'
>>> loads(dumps(buffer(a)))
'hello'
History
Date User Action Args
2019-03-22 07:31:47jeff.allensetrecipients: + jeff.allen
2019-03-22 07:31:47jeff.allensetmessageid: <1553239907.65.0.999261805166.issue2744@roundup.psfhosted.org>
2019-03-22 07:31:47jeff.allenlinkissue2744 messages
2019-03-22 07:31:47jeff.allencreate