[issue13322] buffered read() and write() does not raise BlockingIOError
sbt
report at bugs.python.org
Thu Nov 10 15:57:04 CET 2011
sbt <shibturn at gmail.com> added the comment:
> Ouch. Were they only non-blocking codepaths?
Yes.
> raw_pos is the position which the underlying raw stream is currently
> at. It only needs to be modified when a successful write(), read()
> or seek() is done on the raw stream.
Do you mean self->raw_pos should give the same answer as self.raw.tell()? (But that seems to be the definition of self->abs_pos.) Or is it the buffer offset which corresponds to self.raw.tell()?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13322>
_______________________________________
More information about the Python-bugs-list
mailing list