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 loewis
Recipients ajaksu2, loewis, roger.serwy, serhiy.storchaka, terry.reedy
Date 2012-07-12.11:47:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120712134734.Horde.IT1iUUlCcOxP-rlWbzvET8A@webmail.df.eu>
In-reply-to <1342086266.59.0.454698051115.issue7163@psf.upfronthosting.co.za>
Content
> We can ask the author.
>
> Martin, why OutputWindow.write accepts bytes in a724279fc931?

That change was to add support for str8, a type that no longer exists.

> Should it be deleted if it is deprecated artifact or should  
> OutputWindow.write return bytes count for bytes if it will return  
> character count for string?

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.
History
Date User Action Args
2012-07-12 11:47:35loewissetrecipients: + loewis, terry.reedy, ajaksu2, roger.serwy, serhiy.storchaka
2012-07-12 11:47:35loewislinkissue7163 messages
2012-07-12 11:47:35loewiscreate