Re: [openstack-dev] [solum] async / threading for python 2 and 3

2014-02-23 Thread Angus Salkeld
On 21/02/14 11:03 +0100, Victor Stinner wrote: Le vendredi 21 février 2014, 09:27:49 Angus Salkeld a écrit : Honestly, I have no answer to your question right now (How useful is trollius ...). (...) I asked your question on Tulip mailing list to see how a single code base could support Tulip

Re: [openstack-dev] [solum] async / threading for python 2 and 3

2014-02-21 Thread Victor Stinner
Le vendredi 21 février 2014, 09:27:49 Angus Salkeld a écrit : Honestly, I have no answer to your question right now (How useful is trollius ...). (...) I asked your question on Tulip mailing list to see how a single code base could support Tulip (yield from) and Trollius (yield). At least

Re: [openstack-dev] [solum] async / threading for python 2 and 3

2014-02-20 Thread Angus Salkeld
On 20/02/14 13:52 +0100, victor stinner wrote: Hi, On 19/02/14 10:09 +0100, Julien Danjou wrote: On Wed, Feb 19 2014, Angus Salkeld wrote: 2) use tulip and give up python 2 + use trollius to have Python 2 support. https://pypi.python.org/pypi/trollius So I have been giving this a go.

Re: [openstack-dev] [solum] async / threading for python 2 and 3

2014-02-19 Thread Julien Danjou
On Wed, Feb 19 2014, Angus Salkeld wrote: 2) use tulip and give up python 2 + use trollius to have Python 2 support. https://pypi.python.org/pypi/trollius -- Julien Danjou /* Free Software hacker http://julien.danjou.info */ signature.asc Description: PGP signature

Re: [openstack-dev] [solum] async / threading for python 2 and 3

2014-02-19 Thread Angus Salkeld
On 19/02/14 10:09 +0100, Julien Danjou wrote: On Wed, Feb 19 2014, Angus Salkeld wrote: 2) use tulip and give up python 2 + use trollius to have Python 2 support. https://pypi.python.org/pypi/trollius So I have been giving this a go. We use pecan and wsme (like ceilometer), I wanted to

[openstack-dev] [solum] async / threading for python 2 and 3

2014-02-18 Thread Angus Salkeld
Hi all I need to use some async / threaded behaviour to solum for image creation (all I need right now is to run a job asyncronously). eventlet is python 2 only tulip is python 3 only tornado (supports 2 + 3) http://www.tornadoweb.org twisted pyev etc... Options: 1) use eventlet and have the

Re: [openstack-dev] [solum] async / threading for python 2 and 3

2014-02-18 Thread Georgy Okrokvertskhov
Hi Angus, 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. I would rather spend some time and research round option #3. I saw in