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 alex.hartwig, asvetlov, ezio.melotti, kbk, loewis, roger.serwy, serhiy.storchaka, terry.reedy
Date 2013-04-22.10:00:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366624833.72.0.722009413836.issue15809@psf.upfronthosting.co.za>
In-reply-to
Content
The problem (as I understand it) is that if Martin's patch fixes an unicode literals, it breaks a string literals.

LC_ALL=ru_RU.cp1251 LANG=ru_RU.cp1251 ./python Lib/idlelib/idle.py

>>> print u'йцук'
йцук
>>> print 'йцук'
йцук

Here is a different patch, which fixes unicode strings and preserve byte strings.

>>> print u'йцук'
йцук
>>> print 'йцук'
йцук
History
Date User Action Args
2013-04-22 10:00:33serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, terry.reedy, kbk, ezio.melotti, roger.serwy, asvetlov, alex.hartwig
2013-04-22 10:00:33serhiy.storchakasetmessageid: <1366624833.72.0.722009413836.issue15809@psf.upfronthosting.co.za>
2013-04-22 10:00:33serhiy.storchakalinkissue15809 messages
2013-04-22 10:00:33serhiy.storchakacreate