When should Python 3.3 become the default?

Barry Warsaw barry at ubuntu.com
Fri Oct 19 15:27:09 UTC 2012


On Oct 19, 2012, at 09:47 AM, Rodney Dawes wrote:

>While it's somewhat easier, most people will need to support 3.2 anyway
>if they want to run their code on 12.04 at least. And the big benefit
>in that respect for 3.3 (return of u'') isn't really all that helpful
>except for very special weird cases. For people wanting to support both
>2 and 3, it's much better to just use unicode_literals from __future__,
>and use b'' where necessary, and fix your unicode support to be correct.
>Then you get to work on pretty much all the Python 3 versions, and even
>still work on 2.6 (for people who need to support 10.04).
>
>So I say put 3.3.0 in as the default python3 now, because 3.3.0 is out
>and available. It probably won't be a problem for people who still need
>to port, and shouldn't be an issue for anyone who already has.

Thanks.  I guess that also argues for being careful about using 3.3-only
features, at least for packages which have to support back to 12.04 with a
single code base.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20121019/7aa79300/attachment.pgp>


More information about the ubuntu-devel mailing list