ALT Linux Bugzilla
– Attachment 5112 Details for
Bug 26316
Неправильная работа с unicode - строками
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч по мотивам http://bugs.python.org/issue1542677
PyShell.py.diff (text/plain), 845 bytes, created by
Vadim Zelenin
on 2011-09-16 13:10:32 MSK
(
hide
)
Description:
патч по мотивам http://bugs.python.org/issue1542677
Filename:
MIME Type:
Creator:
Vadim Zelenin
Created:
2011-09-16 13:10:32 MSK
Size:
845 bytes
patch
obsolete
>*** PyShell.py.original 2011-03-29 06:38:28.000000000 +0400 >--- PyShell.py 2011-09-16 12:45:31.972641108 +0400 >*************** >*** 594,600 **** > if isinstance(source, types.UnicodeType): > from idlelib import IOBinding > try: >! source = source.encode(IOBinding.encoding) > except UnicodeError: > self.tkconsole.resetoutput() > self.write("Unsupported characters in input\n") >--- 594,600 ---- > if isinstance(source, types.UnicodeType): > from idlelib import IOBinding > try: >! source = "# coding:"+IOBinding.encoding+"\n"+source.encode(IOBinding.encoding) > except UnicodeError: > self.tkconsole.resetoutput() > self.write("Unsupported characters in input\n")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26316
: 5112