Doesn't work python python2.5

Bug #84687 reported by Guillaume Desmottes
2
Affects Status Importance Assigned to Milestone
elementtree (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm using Feisty.

cassidy@cass-wks:~$ python2.4
Python 2.4.4 (#2, Feb 5 2007, 17:46:20)
[GCC 4.1.2 20070129 (prerelease) (Ubuntu 4.1.1-31ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import elementtree.ElementTree
>>>

cassidy@cass-wks:~$ python2.5
Python 2.5 (release25-maint, Feb 5 2007, 02:52:52)
[GCC 4.1.2 20070129 (prerelease) (Ubuntu 4.1.1-31ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import elementtree.ElementTree
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named elementtree.ElementTree

Revision history for this message
Guillaume Desmottes (cassidy) wrote :

Ok, it seems this module is now shipped with python2.5 and we have to use xml.etree.ElementTree instead of elementtree.ElementTree.

Bug closed.

Changed in elementtree:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.