[Python-checkins] python/dist/src/Objects fileobject.c,2.172,2.173

niemeyer@users.sourceforge.net niemeyer@users.sourceforge.net
Tue, 17 Dec 2002 09:48:12 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv14878

Modified Files:
	fileobject.c 
Log Message:
* Objects/fileobject.c
  (file_read): Replaced assertion with mixed sign operation by a simple
  comment (thank you Raymond). The algorithm is clear enough in that point.


Index: fileobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/fileobject.c,v
retrieving revision 2.172
retrieving revision 2.173
diff -C2 -d -r2.172 -r2.173
*** fileobject.c	16 Dec 2002 18:12:53 -0000	2.172
--- fileobject.c	17 Dec 2002 17:48:00 -0000	2.173
***************
*** 810,814 ****
  				return NULL;
  		} else {
! 			assert(bytesread == bytesrequested);
  			break;
  		}
--- 810,814 ----
  				return NULL;
  		} else {
! 			/* Got what was requested. */
  			break;
  		}