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 terry.reedy
Recipients Geraldo.Xexeo, THRlWiTi, Tomoki.Imai, alex.hartwig, asvetlov, benjamin.peterson, ezio.melotti, kbk, loewis, ned.deily, pradyunsg, r.david.murray, roger.serwy, serhiy.storchaka, terry.reedy
Date 2014-05-15.18:34:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Idle 3.x has Martin's patch, except that the 'if' clause is merely commented out rather than removed. (Perhaps someone wanted to test the removal first.  It should now be deleted.)

My 2.7 Idle has Default Source Encoding ... [x] None. Since there is nothing for this in either config-main.def, I presume it is the default -- at least for Windows. But Martin says it is not relevant.

'Surprising' suggests that you think or know that doing the same in 2.7 might introduce other discrepancies from console behavior. I am reluctant to do that, though it is possible that it might make Idle *better* than the console.

I would definitely be reluctant to do something more wide-ranging than your patch without extensive tests, and even that patch should have some tests, some of which pass now and continue to pass, and other that fail now and pass with the patch.

Irdb said "As a Windows user, currently I can't print u'йцук' in interactive mode and get an "Unsupported characters in input" error because my default system encoding (cp1256) can't encode Russian.)"

Idle 2.7
>>> u'йцук'
Unsupported characters in input

Console 2.7
>>> u'????'
>>> u'????'[0] == '?'
Date User Action Args
2014-05-15 18:34:12terry.reedysetrecipients: + terry.reedy, loewis, kbk, benjamin.peterson, ned.deily, ezio.melotti, roger.serwy, r.david.murray, asvetlov, THRlWiTi, Geraldo.Xexeo, serhiy.storchaka, alex.hartwig, pradyunsg, Tomoki.Imai
2014-05-15 18:34:12terry.reedysetmessageid: <>
2014-05-15 18:34:12terry.reedylinkissue15809 messages
2014-05-15 18:34:11terry.reedycreate