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 Sworddragon
Recipients Sworddragon, a.badger, bkabrda, larry, lemburg, loewis, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, terry.reedy, vstinner
Date 2013-12-09.13:20:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I'm closing the issue as invalid, because Python 3 behaviour is correct > and must not be changed.

The fact that write() uses sys.getfilesystemencoding() is either a defect or a bad design (I leave the decision to you).

But I'm still missing a reply to my suggestion. As I'm seeing it has no disadvantages to give the developer optionally the control.
Date User Action Args
2013-12-09 13:20:13Sworddragonsetrecipients: + Sworddragon, lemburg, loewis, terry.reedy, ncoghlan, pitrou, vstinner, larry, a.badger, r.david.murray, serhiy.storchaka, bkabrda
2013-12-09 13:20:13Sworddragonsetmessageid: <>
2013-12-09 13:20:13Sworddragonlinkissue19846 messages
2013-12-09 13:20:12Sworddragoncreate