On Thu, 01 Mar 2012 17:24:31 +0100, Antoine Pitrou <solip...@pitrou.net> wrote:
> On Thu, 1 Mar 2012 11:24:19 -0500
> Barry Warsaw <ba...@python.org> wrote:
> > 
> > I really do think that to the extent that you can do that kind of thing, you
> > may end up with essentially Python 3 support without even realizing it. :)
> 
> That's unlikely. Twisted processes bytes data a lot, and the bytes
> indexing behaviour of 3.x is a chore for porting.

The dodges you have to use work fine in python2 as well, though, so
I think Barry's point stands, even if it does make the python2 code a
bit uglier...but not as bad as the 2.5 exception hacks.  Still, I'll
grant that it would be a harder sell to upstream than the changes Barry
mentioned.  On the other hand, it's not like the code will get
*prettier* once you drop Python2 support :(.

--David
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to