Re: [python-tulip] Adding datagram-like protocol (zigbee) not over socket (serial port), design advice needed

2015-03-02 Thread Guido van Rossum
I'll try to give some hints on Nicolas's original question. I agree with Luciano that posting your source code would be helpful. I assume the serial port is a file descriptor. The big question is, does it support select()? If it doesn't, you'd be in a world of pain (you'd have to create a helper

Re: [python-tulip] Which other futures my come out of asyncio.as_completed?

2015-03-02 Thread Victor Stinner
Hi, 2015-03-01 13:43 GMT+01:00 Luciano Ramalho luci...@ramalho.org: Note: The futures f are not necessarily members of fs. A given future may be wrapped in another future by as_completed; when that happens, the result/error of the new future will be the same as the original future. I