Benjamin Peterson <[email protected]> added the comment: 2011/6/19 Vinay Sajip <[email protected]>: > > Vinay Sajip <[email protected]> added the comment: > > The problem with calling fileno() and fdopen() is that you bypass the > buffering information held in BufferedIOReader. The first call works, but the > FILE * pointer is now positioned at 4K, rather than just past the end of the > object just read. The next call fails.
But presumably once you have the fd, you can llseek(). ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue12291> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
