[Python-bugs-list] [Bug #115690] Dr. Watson error on Python2.0b2 Idle 0.6 WinNT4.0 SP6

noreply@sourceforge.net noreply@sourceforge.net
Fri, 29 Sep 2000 21:42:03 -0700


Bug #115690, was updated on 2000-Sep-29 14:55
Here is a current snapshot of the bug.

Project: Python
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 6
Summary: Dr. Watson error on Python2.0b2 Idle 0.6 WinNT4.0 SP6

Details: I get a Dr. Watson error:

    pythonw.exe
    Exception: access violation (0xc0000005), 
    Address: 0x00e31652

when I run the following code in Idle 0.6, using Edit->Run Script:

---%<---cut---%<---

import unicodedata
for c in range(0x10000):
    x=unichr(c)
    try:
        b = unicodedata.numeric(x)
        #print "numeric:", repr(x)
        try:
            a = unicodedata.digit(x)
            if a != b:
                print "bad" , repr(x)
        except:
            print "Numeric but not digit", hex(c), x.encode("utf8"), \
                  "numeric ->", b
    except:
        pass

---%<---cut---%<---

(This code was recently posted on python-dev)

I've modified my .idle file, adding 

    [EditorWindow]
    font-name=tahoma


Follow-Ups:

Date: 2000-Sep-29 21:42
By: jhylton

Comment:
Marc-Andre can you check whether this is a Unicode bug that is going to come up with or without idle.  If it seems Idle specific, please assign it to Guido or Tim.  If not, it's yours :-).


-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=115690&group_id=5470