[Python-3000] PEP 3137 plan of attack

Alexandre Vassalotti alexandre at peadrop.com
Wed Oct 10 05:27:43 CEST 2007


On 10/8/07, Alexandre Vassalotti <alexandre at peadrop.com> wrote:
> On 10/8/07, Guido van Rossum <guido at python.org> wrote:
> > - change indexing and iteration over PyString to return ints, not
> > 1-char PyStrings
>
> I will try do this one.

This took a bit longer than I expected. Changing the PyString iterator
to return ints was easy, but I ran into some issues with the codec
registry.

I won't have the time this week to work on my patch any further.
Meanwhile if someone would like to improve it, feel free to do so (the
patch is attached to this email). Otherwise, I will continue to work
on it next weekend.

Cheers,
-- Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: string_iter_ret_ints.patch
Type: text/x-diff
Size: 4742 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20071009/7053a418/attachment-0001.patch 


More information about the Python-3000 mailing list