<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br>
<div>
<div>On Jul 23, 2013, at 4:32 PM, Doug Hellmann <<a href="mailto:doug.hellmann@dreamhost.com">doug.hellmann@dreamhost.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Jul 23, 2013 at 4:41 PM, Logan McNaughton <span dir="ltr">
<<a href="mailto:logan@bacoosta.com" target="_blank">logan@bacoosta.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">I'm sure this has been asked before, but what exactly is the plan for Python 3 support?</p>
<p dir="ltr">Is the plan to support 2 and 3 at the same time? I was looking around for a blue print or something but I can't seem to find anything.</p>
<p dir="ltr">If Python 3 support is part of the plan, can I start running 2to3 and making edits to keep changes compatible with Python 2?</p>
</blockquote>
<div><br>
</div>
<div>Eric replied with details, but I wanted to address the question of 2to3.</div>
<div><br>
</div>
<div>Using 2to3 is no longer the preferred way to port to Python 3. With changes that landed in 3.3, it is easier to create code that will run under python 2.7 and 3.3, without resorting to the translation steps that were needed for 3.0-3.2. Chuck Short has
landed a series of patches modifying code by hand for some cases (mostly print and exceptions) and by using the six library in others (for iteration and module renaming).</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
<div>Speaking of preferred ways to port, has there been any discussion about which version takes precedence when we have to do different things? For example, with imports, should we be trying the 2.x name first and falling back to 3.x on ImportError, or vice
versa?</div>
</body>
</html>