[Twisted-Python] Status of Twisted Tests
James Y Knight
foom at fuhm.net
Thu Sep 23 19:01:38 EDT 2004
On Sep 23, 2004, at 5:37 PM, James Y Knight wrote:
>
>> Python 2.4:
>> testAPileOfThings (twisted.mail.test.test_imap.TLSTestCase) ...
>> /home/buildbot/run/full2.4/Twisted/twisted/internet/tcp.py:531:
>> exceptions.RuntimeWarning: startTLS with unwritten buffered data
>> currently doesn't work right. See issue #686. Closing connection.
>
> *No* idea why this would show up only in Py 2.4...if anyone could help
> out here..
Okay, figured it out. Submitted as Python bug #1033720
<http://www.python.org/sf/1033720>
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>
James
More information about the Twisted-Python
mailing list