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 pitrou
Recipients BreamoreBoy, belopolsky, benjamin.peterson, christian.heimes, gvanrossum, mark_t_russell, pitrou, rhettinger
Date 2010-09-05.13:58:07
SpamBayes Score 0.0020148123
Marked as misclassified No
Message-id <1283695089.91.0.137350047154.issue1677872@psf.upfronthosting.co.za>
In-reply-to
Content
Suggestions:

- do it on BufferedReader, rather than TextIOWrapper: if you want full-speed scanning of log files, you probably want to open them in binary mode

- rather than implementing a full-blown iterator, you can start with simple primitives: e.g. a method called readprevline() (or even scan_back() if you want to make the stop character(s) configurable)
History
Date User Action Args
2010-09-05 13:58:10pitrousetrecipients: + pitrou, gvanrossum, rhettinger, belopolsky, christian.heimes, mark_t_russell, benjamin.peterson, BreamoreBoy
2010-09-05 13:58:09pitrousetmessageid: <1283695089.91.0.137350047154.issue1677872@psf.upfronthosting.co.za>
2010-09-05 13:58:08pitroulinkissue1677872 messages
2010-09-05 13:58:07pitroucreate