<div dir="ltr">Shaleh, really useful. Thank you!<div><br></div><div>Guido, you remind me something. I'll use Tox of course. Thanks for your advice.</div><div><br></div><div>BTW. I'm new to the baypiggies ML. I'm from Argentina. You're all really kind. This is one of the things that makes Python so awesome.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 21, 2014 at 4:36 PM, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The commonly recommended resource is <a href="http://python3porting.com/" target="_blank">http://python3porting.com/</a><br>
<br></div>Also make sure to get to 100% test coverage!<br></div><div class="gmail_extra"><br><br>

<div class="gmail_quote"><div><div class="h5">On Mon, Apr 21, 2014 at 12:31 PM, Santiago Basulto <span dir="ltr"><<a href="mailto:santiago.basulto@gmail.com" target="_blank">santiago.basulto@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div dir="ltr">Hello everyone. I'm writing a library that I'd like to be usable from both, Python 2 and Python 3. Actually, there's a library that works just for python2 and I want to make it work for 3.<div>

<br>

</div><div>I know it's not really hard to make it work for both versions, but sometimes I have doubts. For example. If I define a simple class:</div><div><br></div><div>class A:</div><div>    def __init__(self):</div>



<div>        pass</div><div><br></div><div>It will have different meanings if it's run with Python 2 or Python 3 (lacking 'object' inheritence for python2).</div><div><div><br></div><div>Is there any guide, blog post, anything?<br>



</div><div><br></div><div>Thank you very much.</div><span><font color="#888888"><div><br></div>-- <br>Santiago Basulto.-
</font></span></div></div>
<br></div></div>_______________________________________________<br>
Baypiggies mailing list<br>
<a href="mailto:Baypiggies@python.org" target="_blank">Baypiggies@python.org</a><br>
To change your subscription options or unsubscribe:<br>
<a href="https://mail.python.org/mailman/listinfo/baypiggies" target="_blank">https://mail.python.org/mailman/listinfo/baypiggies</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br>
<br clear="all"><br>-- <br>--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Santiago Basulto.-
</div>