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 foom
Recipients
Date 2004-09-23.22:55:51
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This bug breaks Twisted.

print str(buffer(buffer("asdf", 0), 0, 131072))

On Python < 2.4, this prints 'asdf' as it should.
On Python 2.4, this prints '', as it most certainly *should not*.

It may have something to do with:
Python 2.4a2 (#61, Sep  9 2004, 22:24:36)
>>> buffer("asdf", 0)
<read-only buffer for 0x40234360, size -1, offset 0 at 0x40234280>
(size -1, WTF??)

vs.

Python 2.3.4 (#2, Jul  5 2004, 09:15:05) 
>>> buffer("asdf", 0)
<read-only buffer for 0x402194a0, ptr 0x402194b4, size 4 at 
0x40219460>
History
Date User Action Args
2007-08-23 14:26:26adminlinkissue1033720 messages
2007-08-23 14:26:26admincreate