Pascal Chambon <chambon.pas...@gmail.com> added the comment: Well, here is a patch for the seek() methods of io module, in python2.6 maintenance branch. Finally, I've only backported some assertions and the offset stuffs - I'm not comfortable enough about recent io refactorings to do more (it changed pretty quickly while I looked away, actually :p). Tests have been patched too (bufferedrandom wasn't tested as other buffer classes), and to have the whole suite pass, I had to modify testWriteNonBlocking() as well (mock objects returned wrong values - this test is marked as unreliable in sources anyway). If more is needed to patch the py2.6 branch, just tell me B-)
---------- keywords: +patch Added file: http://bugs.python.org/file15759/seek_cur_buffers_py26.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7640> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com