Message162911
Le vendredi 15 juin 2012 à 14:41 +0000, Serhiy Storchaka a écrit :
> >From io.RawIOBase.read docs:
>
> """
> Read up to n bytes from the object and return them. As a convenience, if
> n is unspecified or -1, readall() is called. Otherwise, only one system
> call is ever made. Fewer than n bytes may be returned if the operating
> system call returns fewer than n bytes.
But sys.stdin does not implement RawIOBase, it implements TextIOBase. |
|
Date |
User |
Action |
Args |
2012-06-15 15:40:02 | pitrou | set | recipients:
+ pitrou, jaraco, Arfrever, r.david.murray, docs@python, zach.ware, serhiy.storchaka, jgeralnik |
2012-06-15 15:40:02 | pitrou | link | issue15068 messages |
2012-06-15 15:40:02 | pitrou | create | |
|