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