[issue1677872] Efficient reverse line iterator

2010-07-21 Thread Mark Russell
Mark Russell mark_t_russ...@users.sourceforge.net added the comment: I'll do a C version of the patch (hopefully in the next week or so). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1677872

[issue1582] Documentation patch for reversed() and __reversed__()

2007-12-10 Thread Mark Russell
New submission from Mark Russell: This patch adds documentation for the reversed() builtin and __reversed__() special method. -- components: Documentation files: reverse-2.6-docs.diff messages: 58369 nosy: mark_t_russell severity: normal status: open title: Documentation patch

[issue1677872] Efficient reverse line iterator

2007-12-10 Thread Mark Russell
Mark Russell added the comment: As Guido requested I've split off the generic reversed() and __reversed__() doc additions to this patch against 2.6: http://bugs.python.org/issue1582 The I/O error from reversed(open(/etc/passwd)) was caused by the inner TextIOWrapper calling close() (via

[issue1677872] Efficient reverse line iterator

2007-12-09 Thread Mark Russell
Mark Russell added the comment: Here's an updated version of the patch. Changes: - Updated to work against current py3k branch (r59441) - Added support for universal newlines - Added unit tests - Added docs The patch includes documentation for reversed() and __reversed__

[issue1677872] Efficient reverse line iterator

2007-11-08 Thread Mark Russell
Mark Russell added the comment: Sure - I'll do an updated patch at the weekend. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1677872 _ ___ Python-bugs-list mailing list