[python-tulip] Motor 1.1

2016-11-29 Thread A. Jesse Jiryu Davis
Read Motor 1.1's detailed changelog on ReadTheDocs <http://motor.readthedocs.io/en/stable/changelog.html#motor-1-1>. Install with: python -m pip install --upgrade motor If you encounter any issues, please file them in Jira <https://jira.mongodb.org/browse/MOTOR>. Peace, — A. Jesse Jiryu Davis

[python-tulip] Announcing Motor 1.0, async driver for MongoDB

2016-11-08 Thread A. Jesse Jiryu Davis
ly. Motor's documentation is on ReadTheDocs <http://motor.readthedocs.io/en/stable/>. Install with: python -m pip install motor If you encounter any issues, please file them in MongoDB's Jira <https://jira.mongodb.org/browse/MOTOR> tracker. Peace, — A. Jesse Jiryu Davis

Re: [python-tulip] Re: [tornado] Re: Announcing Motor 0.7, async MongoDB driver for Tornado and asyncio

2016-11-08 Thread A. Jesse Jiryu Davis
1.0 has been released as well. > > Le jeudi 3 novembre 2016 17:39:08 UTC+1, Jean Chassoul a écrit : >> >> congrats! wow a 30% improvement in speed is really something to be proud >> of! >> >> On Tue, Nov 1, 2016 at 6:33 PM, A. Jesse Jiryu Davis < >>

[python-tulip] Re: [tornado] Re: Announcing Motor 0.7, async MongoDB driver for Tornado and asyncio

2016-11-01 Thread A. Jesse Jiryu Davis
; > > среда, 26 октября 2016 г., 15:01:10 UTC+3 пользователь A. Jesse Jiryu > Davis написал: > >> For asynchronous I/O Motor now uses a thread pool, which is faster and >> simpler than the prior implementation with greenlets. It no longer requires >> the greenlet package,

[python-tulip] Announcing Motor 0.7, async MongoDB driver for Tornado and asyncio

2016-10-26 Thread A. Jesse Jiryu Davis
sues/?filter=20674> If you encounter any issues, please file them in Jira <https://jira.mongodb.org/browse/MOTOR>. Peace, — A. Jesse Jiryu Davis

[python-tulip] 0.7 beta release of Motor, the async MongoDB Driver

2016-10-03 Thread A. Jesse Jiryu Davis
or.readthedocs.io/en/latest/migrate-to-motor-1.html>. Try the beta and let me know how it goes. Tell me about bugs <https://jira.mongodb.org/browse/MOTOR>, and also tell me if the beta works for you, so I can release Motor 0.7 confidently. Peace, —A. Jesse Jiryu Davis

Re: [python-tulip] Implementing a socket-connect timeout

2016-02-25 Thread A. Jesse Jiryu Davis
ected like s.connect(("104.130.43.121", 80)) On Tue, Feb 23, 2016 at 10:44 PM, Guido van Rossum wrote: > No, I'm worried that the C code that eventually gets called with e.g. > "104.130.43.121" as the "host" were makes another call to > getaddrinfo(). >

Re: [python-tulip] Implementing a socket-connect timeout

2016-02-23 Thread A. Jesse Jiryu Davis
Guido I don't quite understand — what's your concern here? Are you worried my new _ipaddr_info() function might return an incorrect tuple that differs from a real getaddrinfo() return value? On Tue, Feb 23, 2016 at 12:24 PM, Guido van Rossum wrote: > W00t! Hopefully when you connect a socket it

Re: [python-tulip] Implementing a socket-connect timeout

2016-02-22 Thread A. Jesse Jiryu Davis
w. *Conclusion:* it looks like the patch was worthwhile regardless of the getaddrinfo lock. On Monday, February 15, 2016 at 11:31:23 AM UTC-5, Guido van Rossum wrote: > > On Sun, Feb 14, 2016 at 10:47 PM, A. Jesse Jiryu Davis > > wrote: > > Ned merged my patches, so Pyth

Re: [python-tulip] Implementing a socket-connect timeout

2016-02-14 Thread A. Jesse Jiryu Davis
check.) In other words the lock is about to be removed on all modern platforms. Should we revert this asyncio change? It's a complex solution to a problem that's going away. On Friday, January 29, 2016 at 7:23:46 PM UTC-8, A. Jesse Jiryu Davis wrote: > > I've determined that get

Re: [python-tulip] Implementing a socket-connect timeout

2016-01-29 Thread A. Jesse Jiryu Davis
t; On Wed, Dec 16, 2015 at 4:24 PM, A. Jesse Jiryu Davis < > je...@emptysquare.net > wrote: > >> Committed here: >> >> >> https://github.com/python/asyncio/commit/39c135baf73762830148236da622787052efba19 >> >> Yury would you please update the CPython rep

Re: [python-tulip] Implementing a socket-connect timeout

2015-12-16 Thread A. Jesse Jiryu Davis
Committed here: https://github.com/python/asyncio/commit/39c135baf73762830148236da622787052efba19 Yury would you please update the CPython repo when the time is right? On Wednesday, December 9, 2015 at 6:05:46 PM UTC-5, A. Jesse Jiryu Davis wrote: > > Done: > > https://githu

Re: [python-tulip] Implementing a socket-connect timeout

2015-12-09 Thread A. Jesse Jiryu Davis
Done: https://github.com/python/asyncio/pull/302 On Wednesday, December 9, 2015 at 2:58:07 PM UTC-5, Guido van Rossum wrote: > > It'll go much quicker if you send a PR to the asyncio github project. > Thanks! > > --Guido (mobile) > On Dec 9, 2015 11:56 AM, "A.

Re: [python-tulip] Implementing a socket-connect timeout

2015-12-09 Thread A. Jesse Jiryu Davis
slowness there. But maybe in the Motor example you're hitting a slow DNS > server? (I'm guessing there are lots of system configuration parameters > that may make the system's getaddrinfo() slower or faster, and in your > setup it may well be slower.) > > On Wed, D

Re: [python-tulip] Implementing a socket-connect timeout

2015-12-09 Thread A. Jesse Jiryu Davis
rameter to create_connection. =) On Tuesday, December 8, 2015 at 4:30:04 PM UTC-5, Guido van Rossum wrote: > > On Tue, Dec 8, 2015 at 7:13 AM, A. Jesse Jiryu Davis < > je...@emptysquare.net > wrote: > >> Hi, a Motor user began an interesting discussion on the MongoDB-user li

[python-tulip] Implementing a socket-connect timeout

2015-12-08 Thread A. Jesse Jiryu Davis
Hi, a Motor user began an interesting discussion on the MongoDB-user list: https://groups.google.com/d/topic/mongodb-user/2oK6C3BrVKI/discussion The summary is this: he's fetching hundreds of URLs concurrently and inserting the results into MongoDB with Motor. Motor throws lots of connection-ti

[python-tulip] Motor, the async MongoDB driver, now supports asyncio

2015-12-03 Thread A. Jesse Jiryu Davis
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

[python-tulip] Re: Wiki update of AsyncIO libraries

2015-07-18 Thread A. Jesse Jiryu Davis
Andrew Svetlov and I are adapting Motor, my asynchronous MongoDB Driver for Tornado, to be compatible with asyncio as well. It's not ready so I wouldn't add it to the list yet. But just a heads up that I plan to add it to the list later this year. =) Peace, Jesse On Saturday, July 18, 2015 at

[python-tulip] Re: New aiogreen project: asyncio event loop for eventlet

2014-11-19 Thread A. Jesse Jiryu Davis
This looks very cool! On Wednesday, November 19, 2014 9:20:26 AM UTC-5, Victor Stinner wrote: > > Hi, > > I wrote a new project called "aiogreen": it implements the asyncio > event loop API (call_soon, coroutines, create_connection, etc.) with > eventlet. It makes possible to write asyncio code