Edzard Pasma added the comment:
Thanks a lot, especially for making clear what flushing an input stream means
(or that it is meaningless). I hope it will be solved in APSW, there is an
issue now: http://code.google.com/p/apsw/issues/detail?id=117
Edzard Pasma added the comment:
Hello,
The error occured in the APSW shell, when using its .output command. Looking at
the apsw source, it appears to perform a sys.stdin.flush() at that point.
Trying this in the Python interpreto gives the same error:
$ python
Python 2.7.1 (r271:86882M, Nov
Changes by Edzard Pasma :
--
components: None
nosy: pasm...@concepts.nl
priority: normal
severity: normal
status: open
title: Flushing the standard input causes an error
type: behavior
___
Python tracker
<http://bugs.python.org/issue11