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.

classification
Title: Coding cookie crashes IDLE
Type: crash Stage:
Components: IDLE Versions: Python 3.0
process
Status: closed Resolution: duplicate
Dependencies: Superseder: IDLE: checksyntax() doesn't support Unicode?
View: 4008
Assigned To: Nosy List: amaury.forgeotdarc, terry.reedy
Priority: normal Keywords:

Created on 2008-11-28 19:59 by terry.reedy, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg76551 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2008-11-28 19:59
Running the following from an edit window with F5 in IDLE 3.0c3 causes a
complete crash. Both edit window and shell window disappear.

# -*- coding: utf-8 -*-

The is copied from what IDLE said to add when I previously ran file with
non-ascii char and no cookie. Same if add pass statement.

Copying the same directly into the shell window appears to work fine.
msg76565 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-11-28 23:05
I don't reproduce this problem (on windows XP). Which platform are you 
running?
msg76575 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-11-29 01:37
This is a duplicate of #4008
msg76580 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2008-11-29 02:15
WinXP
And sorry for dup.  I searched IDLE items for 'crash'
History
Date User Action Args
2022-04-11 14:56:41adminsetgithub: 48704
2008-11-29 02:15:59terry.reedysetmessages: + msg76580
2008-11-29 01:37:16amaury.forgeotdarcsetstatus: open -> closed
resolution: duplicate
superseder: IDLE: checksyntax() doesn't support Unicode?
messages: + msg76575
2008-11-28 23:05:59amaury.forgeotdarcsetnosy: + amaury.forgeotdarc
messages: + msg76565
2008-11-28 19:59:23terry.reedycreate