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 dino.viehland
Recipients dino.viehland
Date 2008-11-18.21:29:13
SpamBayes Score 0.18790595
Marked as misclassified No
Message-id <1227043755.26.0.890886477105.issue4348@psf.upfronthosting.co.za>
In-reply-to
Content
In 2.6 but not in 3.0 RC2:

x = bytearray(b'abc')
y = x.replace(b'abc', b'bar', 0)
id(x) == id(y)

In 2.6 and in 3.0 RC2:

t = bytearray()
for i in range(256): t.append(i)

x = bytearray(b'')
y = x.translate(t)
id(x) == id(y)
History
Date User Action Args
2008-11-18 21:29:15dino.viehlandsetrecipients: + dino.viehland
2008-11-18 21:29:15dino.viehlandsetmessageid: <1227043755.26.0.890886477105.issue4348@psf.upfronthosting.co.za>
2008-11-18 21:29:14dino.viehlandlinkissue4348 messages
2008-11-18 21:29:13dino.viehlandcreate