sagemath/sagecell — pull request #358 by kramer314 (2012-08-08 16:29:01+00:00)
Title: Properly handle service requests with multiple stream messages

Previously, only the last stream message would have data stored in the
returned dictionary, replacing any previously-stored data.

For instance, this code:

```
http://aleph.sagemath.org/service?code=for%20i%20in%20xrange(10):%20print%20i
```

would only return:

```
{"success": true, "stdout": "9\n"}
```

when it should return:

```
{"success": true, "stdout": "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n"}
```