[zope2-tracker] [Bug 487998] Re: text_type can give IndexError: string index out of range in zope 2.11 & 2.12

Tres Seaver tseaver at palladion.com
Wed Nov 25 10:12:50 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon Michael wrote:

> See the last two lines I commented ? Lines 39 and 40 in the paste. i
> grows too big, causing the IndexError.

What IndexError?  The attached patch adds two calls to the test case for
that function which prepend 15 spaces to text:  they pass without
errors.  This patch is made against a trunk checkout, after cleaning up
some typical "old Zope" ugly testing cruft.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksNSWwACgkQ+gerLs4ltQ7IzwCgm8xyUcO5cxCm9rRssN4rv+8f
imkAoJ9TdzRDz8SjfTULDSGD8IQ6dnQR
=lacZ
-----END PGP SIGNATURE-----


** Attachment added: "lp_497998.patch"
   http://launchpadlibrarian.net/36065323/lp_497998.patch

-- 
text_type can give IndexError: string index out of range in zope 2.11 & 2.12
https://bugs.launchpad.net/bugs/487998
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list