Message76012
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) |
|
Date |
User |
Action |
Args |
2008-11-18 21:29:15 | dino.viehland | set | recipients:
+ dino.viehland |
2008-11-18 21:29:15 | dino.viehland | set | messageid: <1227043755.26.0.890886477105.issue4348@psf.upfronthosting.co.za> |
2008-11-18 21:29:14 | dino.viehland | link | issue4348 messages |
2008-11-18 21:29:13 | dino.viehland | create | |
|