[egenix-users] mx.TextTools - pickling bug with UnicodeTagTable?
    M.-A. Lemburg 
    mal at egenix.com
       
    Thu Aug  2 18:38:27 CEST 2007
    
    
  
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 ?
-- 
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
    
    
More information about the egenix-users
mailing list