Hi friends — with help from Andrew Svetlov, Nikolay Novik, and others, I've
added asyncio support to Motor:
http://motor.readthedocs.org/en/stable/changelog.html
It also supports Python 3.5's "async" and "await", still works with Python
2.6 and 2.7, and it still works with Tornado.
Peace,
Jess
You're welcome! It could well be that the sleep() is rounded up to 0.017
seconds on Windows, but not on Linux.
On Thu, Dec 3, 2015 at 5:09 AM, Alan Yorinks wrote:
> I found the problem and it was indeed in my code. To read serial data, I
> wrap the pyserial read method in a future. This all work
>> Regarding the "stream style", I can share some of my
>> experience:
>>
>> For code below, other than some limited portion
>> and awaits, can you see any line specific to asyncio? No?
>>
>> Well that's the point. With some little search replace,
>> and tweaks it can easily be transformed into
>>
On 3 December 2015 at 14:25, Imran Geriskovan
wrote:
> On 12/3/15, Vincent Michel wrote:
> > there might be other, more powerful tools around to serve this purpose.
> So
> > I'm also interested in comments from people with a wider view of the
> > asyncio ecosystem.
>
> Regarding the "stream styl
On 12/3/15, Vincent Michel wrote:
> there might be other, more powerful tools around to serve this purpose. So
> I'm also interested in comments from people with a wider view of the
> asyncio ecosystem.
Regarding the "stream style", I can share some of my
experience:
For code below, other than s
Hi all,
Last month I've been playing with asyncio and I ended up writing an
asynchronous console. It's a python console just like the one in the 'code'
module, but running in an asyncio event loop instead. That means it lets
you interact with the program environment while it's running other
as
I found the problem and it was indeed in my code. To read serial data, I
wrap the pyserial read method in a future. This all works without issue.
After retrieving a character using this future, I had added (incorrectly)
an additional asyncio.sleep(.001). Because of the constant barrage of
data