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 serhiy.storchaka
Recipients benjamin.peterson, python-dev, serhiy.storchaka
Date 2014-11-26.08:30:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416990626.88.0.557570358091.issue22943@psf.upfronthosting.co.za>
In-reply-to
Content
This test is locale-depending. string.letters is the collection of 8-bit characters for which islower() or isupper() is true. On most Unixes the locale is either UTF-8 or ASCII and string.letters contains only ASCII letters. On most Windows it contains characters from extended ASCII, and the length of string.letters can be larger than 75 (minimal non-replacement index used in tests).

There is two simple way to fix this issue.
1) increase test indices to be larger than 255.
2) use string.ascii_letters instead of string.letters.

Here is the patch which uses the second approach (because string.letters is used in other tests).
History
Date User Action Args
2014-11-26 08:30:26serhiy.storchakasetrecipients: + serhiy.storchaka, benjamin.peterson, python-dev
2014-11-26 08:30:26serhiy.storchakasetmessageid: <1416990626.88.0.557570358091.issue22943@psf.upfronthosting.co.za>
2014-11-26 08:30:26serhiy.storchakalinkissue22943 messages
2014-11-26 08:30:26serhiy.storchakacreate