Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-25 Thread exarkun
On 07:47 pm, ita...@futurefoundries.com wrote: >On Mon, Mar 25, 2013 at 11:59 AM, Peter Westlake >wrote: >>Understood that it isn't possible to use native asynchronous I/O. But >>an >>implementation that used threads behind the scenes and returned a >>Deferred (for small files) or a Protocol (for

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-25 Thread Glyph
On Mar 25, 2013, at 8:59 AM, Peter Westlake wrote: > On Wed, Mar 20, 2013, at 9:36, Glyph wrote: > ... >> Since async file I/O is not a thing you can implement[1], ... >> >> [1]: > > Understood that it isn't possible to use native asyn

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-25 Thread Tobias Oberstein
> > Since async file I/O is not a thing you can implement[1], ... > > > > [1]: > > Understood that it isn't possible to use native asynchronous I/O. But an > implementation that used threads behind the scenes and returned a Deferred > (for

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-25 Thread Tobias Oberstein
> > Will this tackle async file I/O also or only network? > > > Since async file I/O is not a thing you can implement[1], presumably it will > only > be networking. > Ok, so AIO is broken on Linux both implementation- and API-wise, but Windows/IOCP and/or *BSD/kqueue might be a different stor

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-25 Thread Itamar Turner-Trauring
On Mon, Mar 25, 2013 at 11:59 AM, Peter Westlake wrote: > Understood that it isn't possible to use native asynchronous I/O. But an > implementation that used threads behind the scenes and returned a > Deferred (for small files) or a Protocol (for big ones) would be a nice > thing to have. > For s

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-25 Thread Peter Westlake
On Wed, Mar 20, 2013, at 9:36, Glyph wrote: ... > Since async file I/O is not a thing you can implement[1], ... > > [1]: Understood that it isn't possible to use native asynchronous I/O. But an implementation that used threads behind the

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-20 Thread Glyph
On Mar 20, 2013, at 1:51 AM, Tobias Oberstein wrote: >> In Guido's keynote at PyCon 2013, apparently he talked about adding an async >> I/O module to Python 3.4. It looks like his slides can be viewed > > Will this tackle async file I/O also or only network? Since async file I/O is not a thi

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-20 Thread Tobias Oberstein
> In Guido's keynote at PyCon 2013, apparently he talked about adding an async > I/O module to Python 3.4. It looks like his slides can be viewed Will this tackle async file I/O also or only network? ___ Twisted-Python mailing list Twisted-Python@twiste

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-19 Thread Glyph
On Mar 18, 2013, at 8:00 PM, Tim Allen wrote: > In Guido's keynote at PyCon 2013, apparently he talked about adding an > async I/O module to Python 3.4. > At first glance, the proposed reactor API looks very much like Twisted's > (or, to be fair, GTK's, or possibly any number of other async even

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-19 Thread Itamar Turner-Trauring
On Mon, Mar 18, 2013 at 11:00 PM, Tim Allen wrote: > In Guido's keynote at PyCon 2013, apparently he talked about adding an > async I/O module to Python 3.4. It looks like his slides can be viewed > here: > > https://www.dropbox.com/s/xknbe58zcvjhzhv/PyCon2013.pptx > > ...while this is the PE

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-18 Thread Stephen Thorne
Not relavent to your questions, but there's a mailing list for discussing the specifics of PEP 3156, which is worth subscribing to if you want to provide specific feedback on the API. https://groups.google.com/forum/?fromgroups#!forum/python-tulip On Tue, Mar 19, 2013 at 3:00 AM, Tim Allen wro

Re: [Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-18 Thread Gelin Yan
On Tue, Mar 19, 2013 at 11:00 AM, Tim Allen wrote: > In Guido's keynote at PyCon 2013, apparently he talked about adding an > async I/O module to Python 3.4. It looks like his slides can be viewed > here: > > https://www.dropbox.com/s/xknbe58zcvjhzhv/PyCon2013.pptx > > ...while this is the PE

[Twisted-Python] So... Python 3.4 is getting its own async I/O system

2013-03-18 Thread Tim Allen
In Guido's keynote at PyCon 2013, apparently he talked about adding an async I/O module to Python 3.4. It looks like his slides can be viewed here: https://www.dropbox.com/s/xknbe58zcvjhzhv/PyCon2013.pptx ...while this is the PEP he's talking about: http://www.python.org/dev/peps/pep-315