<div dir="ltr">Usually it's best to write code that is both python 2 and 3 compatible. IIUC.</div><div class="gmail_extra"><br><div class="gmail_quote">On 6 May 2015 at 15:08, Daniele Tricoli <span dir="ltr"><<a href="mailto:eriol@mornie.org" target="_blank">eriol@mornie.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello porters,<br>
<span class=""><br>
On Thursday 16 April 2015 18:06:13 Paul Tagliamonte wrote:<br>
</span><span class="">> I'd love to swap dput(1) to use Python 3 out of the box :)<br>
<br>
</span>WIP is here: <a href="https://github.com/eriol/dput-ng/tree/py3-port" target="_blank">https://github.com/eriol/dput-ng/tree/py3-port</a><br>
<br>
I have already tested and fixed the only Python 3 incompatibility[¹]<br>
but I need a clarification: you are talking about swap dput to use<br>
Python 3, this mean can I simply ship Python 3 versions of dcut,<br>
dirt and dput inside package dput-ng? I'm asking because right now<br>
I build python-dput both for Python 2 and Python 3.<br>
At first I tought we need to ship both Python 2 and Python 3 versions,<br>
but reading again the above sentence made me think I'm probably<br>
misunderstanding.<br>
<br>
So, to recap, I see the following scenarios:<br>
1) build only Python 3 version;<br>
2) build both Python 2 and Python 3 (including scripts):<br>
   In this case, should I have to put dcut3, dirt3, dput3<br>
   inside dput-ng package and make it depends on both<br>
   Python 2 and Python 3?<br>
3) build python-dput and python3-dput packages but ship only<br>
   Python 3 version of dcut, dirt and dput inside dput-ng<br>
   package.<br>
<br>
I'm for scenario 1: it seems the right thing to do. I really don't<br>
like scripts ending with '3', but if we have to ship both versions<br>
(Python 2 and Python 3) I don't see any other possible option<br>
compared to scenario 2.<br>
Scenario 3 seems not useful since python-dput dependants is only<br>
dput-ng.<br>
<br>
What do you think/suggest?<br>
<br>
Many thanks!<br>
<br>
Kind regards,<br>
<br>
[¹] <a href="https://github.com/eriol/dput-ng/commit/395bc429bc6f2acb0cb9581a8f3927e97c4d0db4" target="_blank">https://github.com/eriol/dput-ng/commit/395bc429bc6f2acb0cb9581a8f3927e97c4d0db4</a><br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
 Daniele Tricoli 'Eriol'<br>
 <a href="https://mornie.org" target="_blank">https://mornie.org</a></div></div><br>_______________________________________________<br>
py3porters-devel mailing list<br>
<a href="mailto:py3porters-devel@lists.alioth.debian.org">py3porters-devel@lists.alioth.debian.org</a><br>
<a href="https://lists.alioth.debian.org/mailman/listinfo/py3porters-devel" target="_blank">https://lists.alioth.debian.org/mailman/listinfo/py3porters-devel</a><br>
<br></blockquote></div><br></div>