[Python-3000] idle3.0 - is is supposed to work?

Kurt B. Kaiser kbk at shore.net
Sun Aug 12 04:01:09 CEST 2007


"Martin v. Löwis" <martin at v.loewis.de> writes:

>>>> OTOH, IDLE ran w/o this error in p3yk...
>>> Yes. Somebody would have to study what precisely the problem is: is it
>>> that there is a None key in that dictionary, and that you must not use
>>> None as a tag name? In that case: where does the None come from?
>>> Or else: is it that you can use None as a tagname in 2.x, but can't
>>> anymore in 3.0? If so: why not?
>> 
>> OK, I'll start looking at it.
>
> So did I, somewhat. It looks like a genuine bug in IDLE to me: you
> can't use None as a tag name, AFAIU. I'm not quite sure why this
> doesn't cause an exception in 2.x; if I try to give a None tag
> separately (i.e. in a stand-alone program) in 2.5,
> it gives me the same exception.

I've commented out the None tag.  It appears to be inoperative in any case.

That plus initializing 'iomark' correctly got me to the point where IDLE
is producing encoding errors.  See following message.

-- 
KBK


More information about the Python-3000 mailing list