Sorry for the late reply, I haven't had much time lately.

I mean installing any module containing C code is a pain. Windows has no 
easy way of installing and configuring the correct compiler, once you 
figure out which Visual Studio you need, you get cryptic errors. I've tried 
this multiple times and always gave up. I would write docs to help 
compiling but I can't compile myself, so that's that.
Having wheel for Windows on Python 3 would be nice.

On Wednesday, September 10, 2014 1:21:05 AM UTC+2, Victor Stinner wrote:
>
> Can you please share your bad experience on installing Trollius on 
> Windows? I now deliver wheel packages of Trollius on Windows: 
>
> http://trollius.readthedocs.org/install.html#install-trollius-on-windows-using-pip
>  
>
> Do you mean that installing pip is a pain? Or installing the wheel 
> package with pip? 
>
> Maybe you can help me to enhance the documentation and how I deliver 
> Trollius? 
>
> Victor 


With trololio there's no need to install Trollius when asyncio is present.
It makes it possible to use code written for Trollius with the following 
configurations:
 - Trollius on Python 2
 - Trollius on Python 3
 - asyncio on Python 3

Using Trololio allows devs to have one code base that will work with a 
maximum of configurations. Why require Trollius on Python 3.4+ where we 
already have asyncio in the standard library?

I hope this clears up any confusion. Tell me if there's anything I can do 
to make this clearer (I'll edit the docs and PyPi of course).

ThinkChaos

On Friday, September 12, 2014 11:10:25 AM UTC+2, Victor Stinner wrote:

> I'm not sure that I understood the purpose of Trololio. The main 
> change between asyncio and Trololio on Python 3.3+, is that you can 
> write coroutines using "yield From()" and "raise Return()". The 
> @trololio.coroutine decorator wraps yield to yield from, and Return 
> exception to a return. Trollius is implemented differently: it uses an 
> event loop which supports trollius coroutines (yield) and asyncio 
> coroutines (yield from). 
>
> On Python < 3.3, Trololio is a wrapper to Trollius (it duplicates 
> almost all symbols if I understood correctly). 
>
> So the main use case of Trololilo is to have the same API with Python 
> 2 and Python 3 (coroutines using yield) if you are not able to install 
> Trollius on Python 3.3+. 
>
> Why not using Trollius directly? 
>
> Is it possible to use (unmodified) modules written for Trollius with 
> Trololio (on Python 2)? Is it possible to use (unmodified) modules 
> written for asyncio with Trololio (on Python 3.3+)? Trololio 
> documentation says "If your code was written for asyncio, convert it 
> to use Trollius". 
>
> Using Trollius 1.0, it's now possible to run unmodified modules 
> written for asyncio (on Python 3.3+). 
>
> Victor 
>

On Friday, September 12, 2014 11:10:25 AM UTC+2, Victor Stinner wrote:
>
> Hi, 
>
> 2014-09-08 12:16 GMT+02:00 Think Kos <[email protected] <javascript:>>: 
> > I wrote Trololio, a module that makes writing code for both Tulip and 
> > Trollius easy. It addresses [Differences between Trollius and 
> > Tulip](http://trollius.readthedocs.org/en/latest/asyncio.html), check 
> it 
> > out: [PyPi](https://pypi.python.org/pypi/Trololio), 
> > [GitHub](https://github.com/ThinkChaos/Trololio/). 
> > Any feedback would be appreciated. 
>
> I'm not sure that I understood the purpose of Trololio. The main 
> change between asyncio and Trololio on Python 3.3+, is that you can 
> write coroutines using "yield From()" and "raise Return()". The 
> @trololio.coroutine decorator wraps yield to yield from, and Return 
> exception to a return. Trollius is implemented differently: it uses an 
> event loop which supports trollius coroutines (yield) and asyncio 
> coroutines (yield from). 
>
> On Python < 3.3, Trololio is a wrapper to Trollius (it duplicates 
> almost all symbols if I understood correctly). 
>
> So the main use case of Trololilo is to have the same API with Python 
> 2 and Python 3 (coroutines using yield) if you are not able to install 
> Trollius on Python 3.3+. 
>
> Why not using Trollius directly? 
>
> Is it possible to use (unmodified) modules written for Trollius with 
> Trololio (on Python 2)? Is it possible to use (unmodified) modules 
> written for asyncio with Trololio (on Python 3.3+)? Trololio 
> documentation says "If your code was written for asyncio, convert it 
> to use Trollius". 
>
> Using Trollius 1.0, it's now possible to run unmodified modules 
> written for asyncio (on Python 3.3+). 
>
> Victor 
>

Reply via email to