mellort/reddit_api — Issue #43: Issues with Python 2.7.1?
Author: prezjordan
Created: 2011-12-13 21:33:03+00:00
State: open

Getting some strange behavior on Mac OS X Lion. Perhaps something went awry during install? (I had to sudo)

>>> r = reddit.Reddit(user_agent='my_cool_application')
>>> submissions = r.get_subreddit('opensource').get_hot(limit=5)
>>> list(submissions)
[, , , , ]
>>> submission = submissions.next()
Traceback (most recent call last):
File "", line 1, in
StopIteration
>>>