Re: [python-tulip] BitTorrent client with asyncio (Python 3.4.3)

2015-12-02 Thread Leslie Klein
ith > loop.create_task(main_coro()); loop.run_forever(). Hit ^C to stop. > > Good luck! > > --Guido > > On Mon, Nov 30, 2015 at 9:07 PM, Leslie Klein > wrote: > >> I am writing a BitTorrent client using asyncio and the Streams API. I'm >> trying to w

[python-tulip] BitTorrent client with asyncio (Python 3.4.3)

2015-11-30 Thread Leslie Klein
I am writing a BitTorrent client using asyncio and the Streams API. I'm trying to work at the highest level possible. I have the download part working (client opens a connection to peers provided by tracker and downloads all pieces). Client can also upload pieces to connected peers, if requested

[python-tulip] Re: asyncio and Exception ignored in:

2015-10-23 Thread Leslie Klein
nnect tasks to the loop (with a new set of peers), maybe this is what asyncio does. On Thursday, October 22, 2015 at 11:34:01 PM UTC-4, Leslie Klein wrote: > > I am building a bittorrent client using the python 3.4 asyncio library. I > get up to a certain point in the protocol (receive U

[python-tulip] asyncio and Exception ignored in:

2015-10-22 Thread Leslie Klein
I am building a bittorrent client using the python 3.4 asyncio library. I get up to a certain point in the protocol (receive Unchoke message from a remote peer) and then the remote peer closes the connection. Here is the output to the console. https://docs.python.org/2/reference/datamodel.html#