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 pitrou
Recipients benjamin.peterson, dw, hynek, pitrou, serhiy.storchaka, stutzbach
Date 2014-07-17.22:46:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405637197.66.0.842975366189.issue22003@psf.upfronthosting.co.za>
In-reply-to
Content
Be careful what happens when the original object is mutable:

>>> b = bytearray(b"abc")
>>> bio = io.BytesIO(b)
>>> b[:] = b"defghi"
>>> bio.getvalue()
b'abc'

I don't know what your patch does in this case.
History
Date User Action Args
2014-07-17 22:46:37pitrousetrecipients: + pitrou, benjamin.peterson, stutzbach, hynek, dw, serhiy.storchaka
2014-07-17 22:46:37pitrousetmessageid: <1405637197.66.0.842975366189.issue22003@psf.upfronthosting.co.za>
2014-07-17 22:46:37pitroulinkissue22003 messages
2014-07-17 22:46:37pitroucreate