[egenix-users] Problems moving to mxTextTools 3.0

M.-A. Lemburg mal at egenix.com
Thu Sep 13 14:29:06 CEST 2007

On 2007-09-13 13:13, Peter wrote:
> Over at Biopython we have a problem with the move from mxTextTools 2.0
> to mxTextTools 3.0, specifically in Andrew Dalke's "Martel" parsing
> engine, and were wondering if you could help.
> Looking at the change log, there are few things that look important:
> http://www.egenix.com/products/python/mxBase/mxTextTools/changelog.html
> Do you have any examples of "recompiling a tag table", which may be the
> issue here.

You normally don't need to worry about this, since the tagging
engine will compile the tag tables automatically for you.

> Also could you clarify what is meant by "Removed support for
> buffer-compatible input objects"? Does this mean we can't use Python's
> StringIO handles?

Yes, we had to do this as a result of the restructuring of the
underlying code which no longer works on a char* pointer, but
instead uses the object type information to see whether it needs
to compile a Unicode tag table or a string one.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Sep 13 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/
2007-08-22: Released mxODBC 3.0.1              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