Message165300
> That change was to add support for str8, a type that no longer exists.
str8 was renamed to bytes in 0d462d789b18.
> The general design guideline apparently is that sys.stdout in IDLE
> should work the same as the interactive shell.
>
> Since the interactive shell doesn't support bytes (and gives a TypeError),
> so should IDLE.
Now OutputWindow is not sys.stdout and sys.stdout has own argument
check. If someone uses OutputWindow directly (not sys.stdout) as output
_binary_ file (because OutputWindow supports binary output), then he
would be expected that write will return the number of written bytes.
Can we break those expectations? |
|
Date |
User |
Action |
Args |
2012-07-12 12:30:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, terry.reedy, ajaksu2, roger.serwy |
2012-07-12 12:30:34 | serhiy.storchaka | link | issue7163 messages |
2012-07-12 12:30:34 | serhiy.storchaka | create | |
|