[Python-Dev] "xml" package in standard library

Fredrik Lundh fredrik at pythonware.com
Wed Dec 14 18:13:26 CET 2005


Fred L. Drake, Jr. wrote:

> On Tuesday 13 December 2005 18:40, A.M. Kuchling wrote:
>  > +1; it's what should have been done in the first place.
>
> If only I'd understood that when I added the xml/PyXML hack to the stdlib
> years ago.  :-(
>
> Fixed now.  I'll deal with the documentation in a few days; I actually expect
> to have some time.

looks like you broken installation (the libinstall target hasn't been updated);
from comp.lang.python:

    gregory at home:~$ python
    Python 2.5a0 (#1, Dec 14 2005, 14:11:55)
    [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import xml.etree.ElementTree as ET
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/local/lib/python2.5/xml.py", line 20, in <module>
        import xmlcore
    ImportError: No module named xmlcore
    >>>

(works under trunk, but not after installation)

you also broke my subversion:

$ svn up
svn: subversion/libsvn_ra_svn/marshal.c:434: vwrite_tuple: Assertion `opt || cstr' failed.
Aborted

(but that's probably not your fault).

has anyone seen this error?  any ideas on how to fix it?

</F>





More information about the Python-Dev mailing list