Question: why this does not print anything:

```
for item in pipe.json["value"]["items"]:
    print item["pubDate"]
```

but this does:

```
for item in pipe.json["value"]["items"]:
   print item["pubDate"] + "\n"
```

p.s. the loop is running inside another loop. 

p.p.s. this is running inside google app engine application.i have looked at http response and it is completely empty in the first case.

Answer: 
It might be a problem with buffering, in which case flushing stdout would help.

```
import sys
sys.stdout.flush()

```
On GAE if you want to use print for output you'll have to print an empty string before any printing so that these kind of problems won't happen:

```
print ""
print "something"

```