On 6/13/06, Thomas Wouters <[EMAIL PROTECTED]> wrote:
>
>
> The source fo the crash is the EncodingMap type (defined in
> unicodeobject.c); it has an invalid type:
>
> Breakpoint 2, PyUnicode_BuildEncodingMap (string=0x2b97d44dbf40)
> at Objects/unicodeobject.c:3213
> (gdb) print EncodingMapTyp
On 6/13/06, Neal Norwitz <[EMAIL PROTECTED]> wrote:
# This crashes, but i need to print type(encoding_table) at end of cp1140.pyHere's a shorter version: import codecsdecmap = u"".join(unichr(i) for i in xrange(256))
print type(codecs.charmap_build(decmap))The source fo the crash is the EncodingMap
# This crashes, but i need to print type(encoding_table) at end of cp1140.py
import imp, sys
path = sys.path
enc = imp.find_module('encodings')
imp.load_module('encodings', *enc)
path.append(enc[1])
cp1140 = imp.find_module('cp1140')
imp.load_module('cp1140', *cp1140)
###
0x00465689 in
I wonder if this is similar to Kevin's problem? I couldn't reproduce
his problem though. This happens with both debug and release builds.
Not sure how to reduce the test case. pychecker was just iterating
through the byte codes. It wasn't doing anything particularly
interesting.
./python pyche