[New-bugs-announce] [issue4530] IDLE crashes with Japanese text on print command

Paul Goins report at bugs.python.org
Thu Dec 4 18:44:08 CET 2008


New submission from Paul Goins <general at vultaire.net>:

Just got Python 3.0 final on Windows and was testing out IDLE, and it's
having some issues.

Specifically:
* Options -> Configure IDLE..., General Tab:
  Change Default Source Encoding from None to UTF-8
* Create a new python file and enter a print command
  containing Japanese text.  Save it.  (Saves to UTF-8.)
* Press F5 to run the script.  IDLE crashes.

However, if the default encoding is left as "None", and you create a new
file and allow IDLE to save it as cp932, then it runs with no problem
through IDLE.

Straight Python on a command line is not affected and reads the UTF-8
files perfectly fine.

Attached is a script which crashes IDLE every single time I run it.

Thanks.

- Paul Goins

----------
components: IDLE
files: test.py
messages: 76903
nosy: Vultaire
severity: normal
status: open
title: IDLE crashes with Japanese text on print command
versions: Python 3.0
Added file: http://bugs.python.org/file12223/test.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4530>
_______________________________________


More information about the New-bugs-announce mailing list