[Python-Dev] The Breaking of distutils and PyPI for Python 3000?
"Martin v. Löwis"
martin at v.loewis.de
Thu Mar 20 21:33:22 CET 2008
>>>> You seem to be implying that some projects may release separate
>> >> source distributions. I cannot imagine why somebody would want to
>> >> do that.
>> >
>> > That's odd. I can't imagine why anybody would *not* want to do that.
>> > Given the number of issues 2to3 can't fix (because it would be too
>> > dangerous to guess)
>>
>> Like which one specifically?
>
> Anything having to do with the str->bytes/unicode->str move is so far
> off-limits to 2to3.
Sure - but does that mean you need to separate code bases?
Why does this move prevent people from running the same
code in 2.x and 3.x? In 2.x, they should use Unicode objects
for text and regular strings for binary data, and such code
will run fine after converted by 2to3.
Regards,
Martin
More information about the Python-Dev
mailing list