This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ajaksu2, loewis, roger.serwy, serhiy.storchaka, terry.reedy
Date 2012-07-12.12:30:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342096267.14596.24.camel@raxxla>
In-reply-to <20120712134734.Horde.IT1iUUlCcOxP-rlWbzvET8A@webmail.df.eu>
Content
> 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?
History
Date User Action Args
2012-07-12 12:30:35serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, terry.reedy, ajaksu2, roger.serwy
2012-07-12 12:30:34serhiy.storchakalinkissue7163 messages
2012-07-12 12:30:34serhiy.storchakacreate