[egenix-users] mx.TextTools - pickling bug with UnicodeTagTable?
    Frank McIngvale 
    fmcingvale at gmail.com
       
    Thu Aug  2 11:52:09 CEST 2007
    
    
  
On 8/2/07, M.-A. Lemburg <mal at egenix.com> wrote:
>
> On 2007-08-02 17:08, Frank McIngvale wrote:
> > 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)
>
> On which platform do you get this ?
WinXP with:
"Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on win32"
mx.__version__ = '3.0'
Unfortunately there is no message from Python, just a popup box that says
the program crashed.
frank
--
> Marc-Andre Lemburg
> eGenix.com
>
> Professional Python Services directly from the Source  (#1, Aug 02 2007)
> >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
> >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
> >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
> ________________________________________________________________________
>
> :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
>
>
>    eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
>     D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
>            Registered at Amtsgericht Duesseldorf: HRB 46611
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman-archives/egenix-users/attachments/20070802/f2453e5e/attachment.htm
    
    
More information about the egenix-users
mailing list