-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 18, 2008, at 4:14 PM, Guido van Rossum wrote:
Good catch, this is a bug IMO and we should fix it in 2.6.1 and
3.0rc3.
Ah, a /real/ test of the time machine! Though you can avoid the risk
of a rip in the time-space continuum by trying to
Sure, it's now bug 4348 - http://bugs.python.org/issue4348
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guido van Rossum
Sent: Tuesday, November 18, 2008 1:14 PM
To: Dino Viehland
Cc: python-dev@python.org dev
Subject: Re: [Python-Dev] byte
Good catch, this is a bug IMO and we should fix it in 2.6.1 and 3.0rc3.
Mind filing a bug so we can keep track of it?
--Guido
On Tue, Nov 18, 2008 at 1:01 PM, Dino Viehland <[EMAIL PROTECTED]> wrote:
> I've been implementing bytearray for IronPython and I noticed a couple of
> spots where the n
I've been implementing bytearray for IronPython and I noticed a couple of spots
where the non-mutating methods of bytearray return self.
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):