Message187551
| 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 'йцук'
РNoцук
Here is a different patch, which fixes unicode strings and preserve byte strings.
>>> print u'йцук'
йцук
>>> print 'йцук'
йцук |
|