[Python-3000] IDLE encoding setup

Kurt B. Kaiser kbk at shore.net
Mon Aug 13 16:22:15 CEST 2007


"Kurt B. Kaiser" <kbk at shore.net> writes:

>> I now get an IDLE window which crashes as soon as I type something.
>
> Yes, something like
>
>   File "/home/kbk/PYDOTORG/projects/python/branches/py3k/Lib/lib-tk/Tkinter.py", line 1022, in mainloop
>     self.tk.mainloop(n)
> TypeError: expected string, bytes found
>
> I can duplicate this using just WidgetRedirector.main() (no IDLE), but I
> haven't figured out the problem as yet.  That's a very interesting module ::-P

The changes you checked in to _tkinter.c fixed WidgetRedirector, and
those and the other changes you made in idlelib have IDLE working
without the subprocess.

Thanks very much for working on this!

-- 
KBK


More information about the Python-3000 mailing list