[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Moreover: do you think its good idea to change the file encoding at > opened and then saved file without any question when there is no > encoding declaration? See my previous comment: one issue at a time. This issue was about code that IDLE 3.0a5 cannot pars

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Thank you. Not sure, what to do now, cause the putting down of IDLE is > fixed, but still within IDLE I get wrong output: In general, when a reported issue is closed, and you have a further issue, the right thing is to report this as a new issue, rather than

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: Well, if you're still using 3.0, it's not patched yet. :) -- nosy: +benjamin.peterson ___ Python tracker ___

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Pavel Kosina
Pavel Kosina added the comment: Moreover: do you think its good idea to change the file encoding at opened and then saved file without any question when there is no encoding declaration? :-( Users do not edit just python programs, they can edit also config files, text files, etc It could b

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Pavel Kosina
Pavel Kosina added the comment: Thank you. Not sure, what to do now, cause the putting down of IDLE is fixed, but still within IDLE I get wrong output: x="ěščřžýáíé" print (x) >>> ěščřžýáíé when running this script under python command line form another editor, I get the output read

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: This is now fixed in r68022. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2008-12-31 Thread Pavel Kosina
Pavel Kosina added the comment: the following very simple example might be the the same issue: x="ěščřžýáíé" print (x) It reliably puts down IDLE entirely without any error message. It is saved in UTF-8. python +idle 3.0, wxp sp3 -- nosy: +geon __

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2008-08-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I managed to get a proper traceback: Exception in Tkinter callback Traceback (most recent call last): File "c:\afa\python\py3k\lib\tkinter\__init__.py", line 1405, in __call__ return self.func(*args) File "c:\afa\python\py3k\lib

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2008-08-10 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: When one runs a file with Python30.exe, it opens a window, runs the file, and closes the window too fast to see what happened. The point of the input() statements is to 'pause' execution. This is standard debugging along with print()/write()

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2008-08-09 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: I was NOT able to Reproduce it in IDLE 3.0b2 running on Linux. Would you like to try with 3.0b2 and also do. tjreedy: I did not properly get your comment. When you open Idle instance and create a new Document, cut-paste the code, and Run. The Execut

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2008-08-08 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: 3.0b2, WinXP I cut and pasted the text above into an empty IDLE edit window, hit F5, and in the blink of an eye, both IDLE windows disappeared. No error message, no Window's error box, just gone. The pasted text was saved to the file. When

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2008-05-11 Thread Sven Siegmund
New submission from Sven Siegmund <[EMAIL PROTECTED]>: I have a source code which IDLE 3.0a5 cannot parse, but Python 3.0a5 can (also attached): #!/usr/bin/python # -*- coding: utf-8 -*- def načtiSlovník(zdroj='slovník.txt'): soubor = open(zdroj, mode='r', encoding='utf_8') řádky = so