Re: The looming Python 3(000) monster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arthur Pemberton wrote:
> 
> Is there not a subset of features which exist in both 2.5 and 3.0
> which can be used in 2.6?
> 

Trivial code can work but I wouldn't bet on any applications (with all
their library dependencies) being able to work in both 2.5 and 3.0.
Some things are a lot of work: you can't easily deal with methods in the
stdlib changing between 2.x and 3.x except to write your own version or
either the 3.x or 2.x version.

Other things are changed at a deep level.  For instance, str and unicode
in python2.x has become bytes and str(an abstract unicode type) in
python3.x.  Even with the 3.x compat mode in python 2.6 there's things
that have subtle bugs.  Attempting to write code compatible with both
2.5 and 3.0 will fail miserably.

-Toshio

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux