This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients bmwiedemann, brett.cannon, ezio.melotti, martin.panter, mrabarnett, pitrou, r.david.murray
Date 2015-12-15.23:54:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450223654.57.0.598576848288.issue25870@psf.upfronthosting.co.za>
In-reply-to
Content
There is a standard library fuction for that ;) the step argument to range():

lines = (result[n:n + 64] for n in range(0, len(result), 64))
History
Date User Action Args
2015-12-15 23:54:14martin.pantersetrecipients: + martin.panter, brett.cannon, pitrou, ezio.melotti, mrabarnett, r.david.murray, bmwiedemann
2015-12-15 23:54:14martin.pantersetmessageid: <1450223654.57.0.598576848288.issue25870@psf.upfronthosting.co.za>
2015-12-15 23:54:14martin.panterlinkissue25870 messages
2015-12-15 23:54:14martin.pantercreate