Author: alexandre.vassalotti Date: Tue May 29 02:25:42 2007 New Revision: 55630 Modified: python/branches/cpy_merge/Modules/_bytes_iomodule.c Log: Remove the fprintf() call I introduced by error. Add an assertion. Modified: python/branches/cpy_merge/Modules/_bytes_iomodule.c ============================================================================== --- python/branches/cpy_merge/Modules/_bytes_iomodule.c (original) +++ python/branches/cpy_merge/Modules/_bytes_iomodule.c Tue May 29 02:25:42 2007 @@ -104,9 +104,8 @@ l = n - (self->buf + self->pos); *output = self->buf + self->pos; - /* XXX: Is this really needed? */ assert(self->pos + l < PY_SSIZE_T_MAX); - fprintf(stderr, "line length: %i\n", l); + assert(l >= 0); self->pos += l; return l;