[egenix-users] mx.TextTools - pickling bug with UnicodeTagTable?

Frank McIngvale fmcingvale at gmail.com
Thu Aug 2 11:08:21 CEST 2007


Hi, there seems to be a bug in pickling tag tables:

This works fine:

tags = (
    (None, Is, 'a'),
    )

t = TagTable(tags)
print type(t)
s = pickle.dumps(t)
print pickle.loads(s)

But this crashes ...

tags = (
    (None, Is, u'\u03a3'),
    )

t = UnicodeTagTable(tags)
print type(t)
s = pickle.dumps(t)
print pickle.loads(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman-archives/egenix-users/attachments/20070802/39071e5d/attachment.htm


More information about the egenix-users mailing list