<br><br><div class="gmail_quote">On Thu Dec 11 2014 at 3:14:42 PM Dan Stromberg <<a href="mailto:drsalists@gmail.com">drsalists@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Dec 11, 2014 at 11:35 AM, Mark Roberts <<a href="mailto:wizzat@gmail.com" target="_blank">wizzat@gmail.com</a>> wrote:<br>
> I disagree. I know there's a huge focus on The Big Libraries (and wholesale<br>
> migration is all but impossible without them), but the long tail of<br>
> libraries is still incredibly important. It's like saying that migrating the<br>
> top 10 Perl libraries to Perl 6 would allow people to completely ignore all<br>
> of CPAN. It just doesn't make sense.<br>
<br>
Things in the Python 2.x vs 3.x world aren't that bad.<br>
<br>
See:<br>
<a href="https://python3wos.appspot.com/" target="_blank">https://python3wos.appspot.<u></u>com/</a> and<br>
<a href="https://wiki.python.org/moin/PortingPythonToPy3k" target="_blank">https://wiki.python.org/moin/<u></u>PortingPythonToPy3k</a><br>
<a href="http://stromberg.dnsalias.org/~strombrg/Intro-to-Python/" target="_blank">http://stromberg.dnsalias.org/<u></u>~strombrg/Intro-to-Python/</a> (writing code<br>
to run on 2.x and 3.x)<br>
<br>
I believe just about everything I've written over the last few years<br>
either ran on 2.x and 3.x unmodified, or ran on 3.x alone. If you go<br>
the former route, you don't need to wait for your libraries to be<br>
updated.<br>
<br>
I usually run pylint twice for my projects (after each change, prior<br>
to checkin), once with a 2.x interpreter, and once with a 3.x<br>
interpreter (using<br>
<a href="http://stromberg.dnsalias.org/svn/this-pylint/trunk/this-pylint" target="_blank">http://stromberg.dnsalias.org/<u></u>svn/this-pylint/trunk/this-<u></u>pylint</a>) , but<br>
I gather pylint has the option of running on a 2.x interpreter and<br>
warning about anything that wouldn't work on 3.x.<br></blockquote><div><br></div><div>Pylint 1.4 has a --py3k flag to run only checks related to Python 3 compatibility under Python 2. </div></div>