[Python-3000] PEP 3137 plan of attack

Thomas Lee tom at vector-seven.com
Wed Oct 10 06:03:43 CEST 2007


Guido van Rossum wrote:
> On 10/9/07, Guido van Rossum <guido at python.org> wrote:
>   
>> Which reminds me of a task I forgot to add to the list:
>>
>> - change the constructor for PyString to match the one for PyBytes.
>>     
>
> And another pair of forgotten tasks:
>
> - change PyBytes so that its str() is the same as its repr().
> - change PyString so that its str() is the same as its repr().
>
> The former seems easy. The latter might cause trouble (though then
> again, it may not).
>
> I should also note that I already submitted the changes to remove
> locale support from PyString, and am working on removing its encode()
> method. This is not going so smoothly.
>
>   
I'll take the constructor once I sort out unicode/string comparison.

If nobody else has taken care of the other two by the weekend, I'll take 
a look at them too.

Cheers,
Tom


More information about the Python-3000 mailing list