Files
cpython/Doc/lib
Gustavo Niemeyer 786ddb29c9 Fixed bug
[#521782] unreliable file.read() error handling

* Objects/fileobject.c
  (file_read): Clear errors before leaving the loop in all situations,
  and also check if some data was read before exiting the loop with an
  EWOULDBLOCK exception.

* Doc/lib/libstdtypes.tex
* Objects/fileobject.c
  Document that sometimes a read() operation can return less data than
  what the user asked, if running in non-blocking mode.

* Misc/NEWS
  Document the fix.
2002-12-16 18:12:53 +00:00
..
2002-10-01 15:29:09 +00:00
2002-10-01 15:29:09 +00:00
2002-10-01 15:29:09 +00:00
2002-11-14 03:58:20 +00:00
2002-06-26 05:07:28 +00:00
2002-11-25 18:51:43 +00:00
2002-08-23 21:19:53 +00:00
2002-09-04 15:12:07 +00:00
2002-10-30 21:08:34 +00:00
2002-12-06 18:52:28 +00:00
2002-07-10 19:21:07 +00:00
2002-11-22 14:28:53 +00:00
2002-03-24 16:55:57 +00:00
2002-11-25 16:01:08 +00:00
2002-12-06 16:45:05 +00:00
2002-11-05 22:41:16 +00:00
2002-12-06 16:45:05 +00:00
2002-05-01 03:23:03 +00:00
2002-11-18 09:01:24 +00:00
2002-05-27 15:08:24 +00:00
2002-02-19 02:58:54 +00:00
2002-12-16 18:12:53 +00:00
2002-08-15 14:59:02 +00:00
2002-10-10 18:24:54 +00:00
2002-12-15 13:14:22 +00:00
2002-10-17 19:23:43 +00:00
2002-11-18 04:34:10 +00:00
2002-10-10 18:24:54 +00:00
2002-06-25 15:26:59 +00:00
2001-11-06 22:10:47 +00:00
2002-10-22 18:26:28 +00:00
2002-12-12 12:23:32 +00:00
2002-10-10 15:58:19 +00:00
2001-10-26 19:50:26 +00:00
2002-11-13 15:56:13 +00:00