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.

作者 AGrzes
收信人 AGrzes, ezio.melotti, steve.dower, tim.golden, vstinner, zach.ware
日期 2015-02-09.20:37:18
SpamBayes Score -1.0
Marked as misclassified
Message-id <1423514239.73.0.0631467799432.issue23424@psf.upfronthosting.co.za>
In-reply-to
内容
Inputing some Unicode characters (like 'łąśćńó...') causes interactive session to abort.

When console session is set to use UTF-8 code page (65001) after diacritic character appears in string the session abruptly ends. Looking into debug output it looks like some cleanup is performed but there are no error messages indicating what caused problem.

Problem spotted on Windows 10 (technical preview) but I may try to replicate it on some released operating system.

---
C:\>chcp 1250
Active code page: 1250

C:\>python -i
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 'ł'
'ł'
>>> exit()

C:\>chcp 65001
Active code page: 65001

C:\>python -i
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 'ł'


C:\
历史
日期 用户 动作 参数
2015-02-09 20:37:19AGrzes修改recipients: + AGrzes, vstinner, tim.golden, ezio.melotti, zach.ware, steve.dower
2015-02-09 20:37:19AGrzes修改messageid: <1423514239.73.0.0631467799432.issue23424@psf.upfronthosting.co.za>
2015-02-09 20:37:19AGrzes链接issue23424 messages
2015-02-09 20:37:19AGrzes创建