summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2013-03-20 08:37:14 -0700
committerGuido van Rossum <guido@python.org>2013-03-20 08:37:14 -0700
commit5b87a9ebea89c6c6ca213aeec0325ce1db78c27d (patch)
tree3ead756d4d6570c884d9802066e614b5adf94e93
parent20b16180ebe83a003ac859173b3c50d4b4c2bc1c (diff)
parent8a1378d1da92fcfce02b0127af8ac224aa10abea (diff)
downloadtrollius-git-5b87a9ebea89c6c6ca213aeec0325ce1db78c27d.tar.gz
Merge
-rw-r--r--NOTES4
-rwxr-xr-xcurl.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/NOTES b/NOTES
index c8f274d..3b94ba9 100644
--- a/NOTES
+++ b/NOTES
@@ -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
diff --git a/curl.py b/curl.py
index 0624df8..6986fc2 100755
--- a/curl.py
+++ b/curl.py
@@ -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'))