Message125633
We may also accept TextIOWrapper (eg. sys.stdin) *and*
BufferedReader/FileIO (eg. sys.stdin.buffer). It is possible to test the
type of the stream. With a TextIOWrapper, the raw buffer can be read
using stream.buffer.
But for StringIO/BytesIO: only BytesIO should be accepted. |
|
Date |
User |
Action |
Args |
2011-01-07 09:15:48 | vstinner | set | recipients:
+ vstinner, gvanrossum, barry, amaury.forgeotdarc, ggenellina, pitrou, eric.araujo, v+python, r.david.murray, oopos, tercero12, tcourbon, tobias, flox, pebbe, quentel, erob |
2011-01-07 09:15:46 | vstinner | link | issue4953 messages |
2011-01-07 09:15:46 | vstinner | create | |
|