<div dir="ltr">Hi Angus,<div><br></div><div>I think that we need to keep python 2 as a lot of enterprise customers still use python 2.x versions. If you target Solum only for python 3 users you will significantly reduce potential customer adoption.</div>
<div><br></div><div>I would rather spend some time and research round option #3. I saw in openstack-dev mailing list that there is a work around asyncio native in py3 and its port for python2.</div><div><br></div><div>Here is related BP <a href="https://wiki.openstack.org/wiki/Oslo/blueprints/asyncio">https://wiki.openstack.org/wiki/Oslo/blueprints/asyncio</a></div>
<div><br></div><div>Here is the e-mail thread: <a href="http://lists.openstack.org/pipermail/openstack-dev/2014-February/026237.html">http://lists.openstack.org/pipermail/openstack-dev/2014-February/026237.html</a></div><div>
<br></div><div>Thanks</div><div>Gosha</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Feb 18, 2014 at 4:53 PM, Angus Salkeld <span dir="ltr"><<a href="mailto:angus.salkeld@rackspace.com" target="_blank">angus.salkeld@rackspace.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi all<br>
<br>
I need to use some async / threaded behaviour to solum for image<br>
creation (all I need right now is to run a job asyncronously).<br>
<br>
eventlet is python 2 only<br>
tulip is python 3 only<br>
tornado (supports 2 + 3) <a href="http://www.tornadoweb.org" target="_blank">http://www.tornadoweb.org</a><br>
twisted<br>
pyev<br>
etc...<br>
<br>
Options:<br>
1) use eventlet and have the same path of migration as the rest<br>
of openstack. Basically give up python 3 for now.<br>
2) use tulip and give up python 2<br>
3) choose an existing framework that supports both py2+3<br>
<br>
<br>
Thoughts?<br>
<br>
Since we are starting out fresh, I'd suggest "2)".<br>
This will mean some learning, but that is always fun and would be benefical<br>
to other projects to see how this code looks.<br>
<br>
I am not sure how important support for python 2 is, I'd suggest<br>
supporting python 3 is more important.<br>
<br>
-Angus<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font color="#999999"><span style>Georgy Okrokvertskhov<br>
Architect,<br><span style="font-family:arial;font-size:small">OpenStack Platform Products,</span><br>
Mirantis</span><br>
<a href="http://www.mirantis.com/" target="_blank">http://www.mirantis.com</a><br>
Tel. <a href="tel:%2B1%20650%20963%209828" value="+16509639828" target="_blank">+1 650 963 9828</a><br>
Mob. <a href="tel:%2B1%20650%20996%203284" value="+16509963284" target="_blank">+1 650 996 3284</a></font><br></div>
</div></div>