Message165240
| Author |
serhiy.storchaka |
| Recipients |
loewis, roger.serwy, serhiy.storchaka, terry.reedy |
| Date |
2012年07月11日.09:13:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1341997990.94.0.22525015051.issue15318@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
sys.std* streams have many other issues.
>>> sys.stdin.readable()
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
sys.stdin.readable()
AttributeError: readable
>>> sys.stdout.writable()
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
sys.stdout.writable()
AttributeError: writable
>>> sys.stdout.newlines
Traceback (most recent call last):
File "<pyshell#8>", line 1, in <module>
sys.stdout.newlines
AttributeError: newlines
>>> sys.stdin.read(1)
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
sys.stdin.read(1)
AttributeError: read
And some other.
Here is a patch that fixes almost all IDLE sys.std* issues. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年07月11日 09:13:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, terry.reedy, roger.serwy |
| 2012年07月11日 09:13:10 | serhiy.storchaka | set | messageid: <1341997990.94.0.22525015051.issue15318@psf.upfronthosting.co.za> |
| 2012年07月11日 09:13:10 | serhiy.storchaka | link | issue15318 messages |
| 2012年07月11日 09:13:10 | serhiy.storchaka | create |
|