Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5253

Re: py3k buffered IO - flush() required between read/write?

From Terry Reedy <tjreedy@udel.edu>
Subject Re: py3k buffered IO - flush() required between read/write?
Date 2011-05-12 15:44 -0400
References <iqedg8$k5a$7@dont-email.me> <mailman.1422.1305138322.9059.python-list@python.org> <iqemrg$jp4$1@dont-email.me> <mailman.1431.1305149918.9059.python-list@python.org> <iqgne3$7kr$1@dont-email.me>
Newsgroups comp.lang.python
Message-ID <mailman.1488.1305229485.9059.python-list@python.org> (permalink)

Show all headers | View raw


On 5/12/2011 9:30 AM, Genstein wrote:
>> With 3.2 on winxp, that is what I get with StringIO, text file, and
>> bytes file (the first two with b's removed). I would expect the same on
>> any system. If you get anything different, I would consider it a bug
>
> Thanks Terry, you're entirely right there; I trimmed down my test case,
> asked for confirmation and have reported it as
> http://bugs.python.org/issue12062. Noted here in case anyone else trips
> over it.

I want people to know that with a simple, minimal, easy to run and 
reproduce and think about test case posted, more info, more test cases, 
and probable fixes were posted within an hour. (Fixes are not always 
that quick, but stripping away irrelevancies really helps speed the 
process.)

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

py3k buffered IO - flush() required between read/write? Genstein <genstein@invalid.invalid> - 2011-05-11 17:27 +0100
  Re: py3k buffered IO - flush() required between read/write? Terry Reedy <tjreedy@udel.edu> - 2011-05-11 14:24 -0400
    Re: py3k buffered IO - flush() required between read/write? Genstein <genstein@invalid.invalid> - 2011-05-11 20:08 +0100
      Re: py3k buffered IO - flush() required between read/write? Terry Reedy <tjreedy@udel.edu> - 2011-05-11 17:38 -0400
        Re: py3k buffered IO - flush() required between read/write? Genstein <genstein@invalid.invalid> - 2011-05-12 14:30 +0100
          Re: py3k buffered IO - flush() required between read/write? Terry Reedy <tjreedy@udel.edu> - 2011-05-12 15:44 -0400
            Re: py3k buffered IO - flush() required between read/write? Genstein <genstein@invalid.invalid> - 2011-05-12 21:38 +0100
      Re: py3k buffered IO - flush() required between read/write? "Martin P. Hellwig" <martin.hellwig@gmail.com> - 2011-05-11 23:24 +0000

csiph-web