> 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!
I doubt that all is working yet, though. So some thorough testing would
probably be necess
"Kurt B. Kaiser" <[EMAIL PROTECTED]> 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: expec
> Is the code which sets IOBinding.encoding still correct? That value is
> used in several places in IDLE, including setting the encoding for
> std{in,err,out}.
I think so, yes. The conditions in which it needs to be used will have
to change, though: Python 3 defaults to UTF-8 as the source encod
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
>> Hopefully MvL has a few minutes to revisit the IOBinding.py code which is
>> setting IDLE's encoding. I'm not sure how it should be configured.
>
> This code was now bogus. In 2.x, the line read
>
> s = unicode(s, IOBinding.encoding)
>
> Then
> s = str(s, IOBinding.encoding)
> TypeError: decoding Unicode is not supported
>
> Hopefully MvL has a few minutes to revisit the IOBinding.py code which is
> setting IDLE's encoding. I'm not sure how it should be configured.
This code was now bogus. In 2.x, the line read
s = unicode
On 8/11/07, Kurt B. Kaiser <[EMAIL PROTECTED]> wrote:
> I've checked in a version of PyShell.py which directs exceptions to the
> terminal instead of to IDLE's shell since the latter isn't working right now.
>
> There also is apparently an encoding issue with the subprocess setup
> which I'm ignori
I've checked in a version of PyShell.py which directs exceptions to the
terminal instead of to IDLE's shell since the latter isn't working right now.
There also is apparently an encoding issue with the subprocess setup
which I'm ignoring for now by starting IDLE w/o the subprocess:
cd Lib/idlelib