recurly/recurly-client-python — pull request #33 by mbeale (2012-12-11 21:42:16+00:00)
Title: Added iterator and len magic method to Page resource

Turns this:

accounts = Account.all()
while accounts:
for account in accounts:
print 'Account: %s' % account
try:
accounts = accounts.next_page()
except PageError:
accounts = ()

into this:

for account in Account.all():
print 'Account: %s' % account