Files
cpython/Objects
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
..
2000-05-02 18:34:30 +00:00
2002-08-06 22:12:52 +00:00
2001-08-29 23:54:21 +00:00
2002-12-16 18:12:53 +00:00
2002-12-05 21:32:32 +00:00
2002-11-23 09:13:40 +00:00
2002-12-14 17:17:56 +00:00
2002-07-17 16:30:39 +00:00