diff options
| author | Guido van Rossum <guido@python.org> | 2013-03-20 08:37:14 -0700 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2013-03-20 08:37:14 -0700 |
| commit | 5b87a9ebea89c6c6ca213aeec0325ce1db78c27d (patch) | |
| tree | 3ead756d4d6570c884d9802066e614b5adf94e93 | |
| parent | 20b16180ebe83a003ac859173b3c50d4b4c2bc1c (diff) | |
| parent | 8a1378d1da92fcfce02b0127af8ac224aa10abea (diff) | |
| download | trollius-git-5b87a9ebea89c6c6ca213aeec0325ce1db78c27d.tar.gz | |
Merge
| -rw-r--r-- | NOTES | 4 | ||||
| -rwxr-xr-x | curl.py | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -8,7 +8,9 @@ Notes from PyCon 2013 sprints - Adam Sah suggests that there might be a need for scheduling (especially when multiple frameworks share an event loop). He points to lottery scheduling but also mentions that's just one of - the options. + the options. However, after posting on python-tulip, it appears + none of the other frameworks have scheduling, and nobody seems to + miss it. - Feedback from Bram Cohen (Bittorrent creator) about UDP. He doesn't think connected UDP is worth supporting, it doesn't do anything @@ -22,7 +22,7 @@ def main(): for k, v in headers.items(): print('{}: {}'.format(k, v)) print() - data = p.event_loop.run_until_complete(tulip.Task(stream)) + data = p.event_loop.run_until_complete(tulip.Task(stream.read())) print(data.decode('utf-8', 'replace')) |
